- Execute at the root of the project npm install or yarn install
- To start the API with JSON-SERVER and JWT run npm run-script start-auth or yarn start-auth in root of the project
- Route /POST http://localhost:3000/auth/login
{ "email": "[email protected]", "password:" "123456" }
- To view registered users access: src/json/users.json