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
* improve the chartsmith extension
* clean up debug
* clean up debug
* re-add tsconfig
* fix missing extension config
* re-add tsconfig
* remove changelog
* re-add main.go
* fix apiURL in fileContent module
* remove demo content generation in dev mode
* remove www endpoint and just use api endpoint
* Revert "remove www endpoint and just use api endpoint"
This reverts commit 6a3bf73.
* update DEVELOPMENT.MD
* fix description for apiEndpoint
* remove unneeded commands from the palette
* make first user an admin user
* remove individual file content route
* remove run-postgres make target
* use env var for postgres uri for schemahero
* update ARCHITECTURE.md
* cleanup makefile
* remove validateBearerToken use findSession
* Remove deprecated individual file endpoint functions
* Remove deprecated individual file endpoint functions
* remove mock tests
* consolidate endpoints to api endpoint
* fix missing diff buttons
* remove debug code
* disable check-env
* disable check-env
This deploys the Schemahero migrations to set up the database schema.
84
84
85
-
6.**Terminal 4: Claude Integration**
85
+
6.**Terminal 4: Bootstrap Chart Data**
86
+
```bash
87
+
make bootstrap
88
+
```
89
+
This is a **critical step** that initializes the chart data in the database. Without this step, the application won't have the necessary template data to function properly.
90
+
91
+
7.**Admin Access**
92
+
93
+
The first user to log in will automatically be granted admin privileges and bypass the waitlist.
94
+
You can log in at: http://localhost:3000/login?test-auth=true
Copy file name to clipboardExpand all lines: chartsmith-app/README.md
+17Lines changed: 17 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -34,3 +34,20 @@ You can check out [the Next.js GitHub repository](https://github.com/vercel/next
34
34
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
35
35
36
36
Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.
37
+
38
+
## Authentication
39
+
40
+
### Extension Authentication
41
+
42
+
The VS Code extension authenticates using a token-based mechanism:
43
+
44
+
1. When a user clicks "Login" in the extension, it opens a browser window to the authentication page
45
+
2. After successful authentication, the app generates an extension token and sends it to the extension
46
+
3. The extension stores this token and uses it for API requests with a Bearer token header
47
+
4. Token validation happens via the `/api/auth/status` endpoint
0 commit comments