npm run dev # Start in development mode (with Nodemon)
npm start # Start in production mode (with Node.js)
set up with npm init and install
curl -X POST http://localhost:5000/api/users -H "Content-Type: application/json" -d '{"name": "Gokame Man", "email": "Gokame@gmail.com"}'
curl -X GET http://localhost:5000/api/users
curl -X GET http://localhost:5000/api/users/1
curl -X PUT http://localhost:5000/api/users/1 -H "Content-Type: application/json" -d '{"name": "Some Updated Name", "email": "newemail@example.com"}'
curl -X DELETE http://localhost:5000/api/users/1
curl -X POST http://localhost:5000/api/auth/register
-H "Content-Type: application/json"
-d '{"name": "John Doe", "email": "john@example.com", "password": "securepass"}'
curl -X POST http://localhost:5000/api/auth/login
-H "Content-Type: application/json"
-d '{"email": "john@example.com", "password": "securepass"}'