backend / README.md

Commit History

Create a simple Express.js backend API with these endpoints: POST /api/auth/register - Register new user POST /api/auth/login - Login user (return JWT token) GET /api/user/profile - Get user profile (protected route) Basic structure: - server.js (main file) - /routes/auth.js - /middleware/auth.js (JWT verification) - /models/User.js (mongoose schema) Use: - Express.js - MongoDB - JWT for auth - bcrypt for passwords Start with just authentication. Keep it simple. - Initial Deployment
6288f67
verified

Scorpiotur commited on

initial commit
6c0707e
verified

Scorpiotur commited on