Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 425 Bytes

README.md

File metadata and controls

11 lines (8 loc) · 425 Bytes

Before starting the server, add .env file to the root folder with following environment variables: PORT=5000
NODE_ENV=development JWT_SECRET=random DATABASE_URL="file:./dev.db"

To run the server in development environment run "npm run dev" command.

To test the server you can try endpoint: http://localhost:5000/api/v1/users/testUser.

To run in production environment first run "npm run build" and then "npm run start".