bun run devStarts the server with hot reload on port 3001.
bun run startbun run migrate # Run database migrations
bun run seed # Seed database with sample databun run create-userInteractive CLI to create a new user.
bun test # Run all tests
bun test --watch # Run tests in watch modeSee TESTING.md for detailed testing documentation.
Start the backend with PostgreSQL:
docker-compose up -dStop services:
docker-compose downPOST /api/auth/register- Register new userPOST /api/auth/login- Login userGET /api/users/profile- Get user profilePUT /api/users/profile- Update user profileGET /api/evaluations- Get user evaluationsPOST /api/evaluations/ticked-requirements- Save ticked requirementsPOST /api/evaluations/criteria-notes- Save criteria notes
All endpoints except /auth/* require JWT authentication via Authorization: Bearer <token> header.