This node js project is using prisma and mysql for db. please make according changes for different db or orm.
PORT = {YOUR_PORT}
JWT_SECRET_KEY = {YOUR_SECRET_KEY}
DATABASE_URL= {YOUR_DATABASE_URL}
cd ./backend
npm install
npm run start
- Authorization using Json Web Tokens
- assigns role to anonymous user, you can access it using
req.role
. - has basic login and signup funtionality