You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Simple TypeScript + Express mock server used for local development by the editor.
3
+
Note: this top-level `server/` folder contains helper files and a copy of the mock server for historical reasons. The canonical server project used by CI and for local development is `server/server`.
4
4
5
-
Endpoints:
6
-
- GET /health — basic health check
7
-
- GET /me — returns a mock authenticated profile
8
-
- POST /logout — mock logout endpoint
9
-
10
-
Run (from repo root):
5
+
To run or develop the mock server, use the inner folder (recommended):
11
6
12
7
```powershell
13
-
cd server
8
+
cd server/server
14
9
npm install
15
10
npm run dev
16
11
```
12
+
13
+
If you intend to make changes to the mock server, edit files under `server/server` so CI (which builds `./server/server`) and local dev remain consistent.
0 commit comments