A budgeting app backend made with Node.js and Yoga.
Deployment with heroku: https://infinite-bayou-49937.herokuapp.com/
Can create, delete and get a list of all users, incomes and expenses. Besides signup and login, must send a header called Authorization with format "Token generatedJWT", generated JWT is returned when you login or signup.
This project uses prisma, so you must have a prisma account, remove the endpoint variable's content in prisma/prisma.yml, after that run the command prisma deploy on the folder root. Also must have yarn installed locally, or npm.
- Clone the project:
git clone https://github.com/EdmilDM/budget-node.git
- Install dependencies
yarn install
- Make .env file with APP_SECRET variable for token generation and verification for JWT.
- Run index.js
yarn start