feat: protect write endpoints with JWT auth (story #08)
Add bcrypt user file auth, JWT middleware on all write routes, Pinia authStore with localStorage persistence, login view with redirect support, and v-if guards on all CRUD controls and admin nav link. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
DATABASE_URL=postgres://osdb:osdb@localhost:5432/osdb
|
||||
PORT=3000
|
||||
JWT_SECRET=change-me-use-a-long-random-string
|
||||
USERS_FILE=../users.env
|
||||
Reference in New Issue
Block a user