An API to support the use of MyWallet financial manager (https://mywallet-front-ten.vercel.app/).
This is an API that connects to a PostgreSQL database. Below are the implemented routes:
- Sign Up
- Sign In
- Sign Out
- Cash Flow (get the incomes and expenses of a user)
- Input (insert incomes or expenses of a user)
Features and improvements that can be implemented:
- TypeScript
- TypeORM
- Layered architecture
The following tools and frameworks were used in the construction of the project:
- Node.js
- Express
- Cors
- Joi
- uuid
- Bcrypt
- PostgreSQL
- Jest (tests)
- Supertest (tests)
- Clone this repository
- Clone the front-end repository at https://github.com/iurimp91/mywallet-front
- Follow instructions to run front-end at https://github.com/iurimp91/mywallet-front
- Install dependencies
npm i
- Run the back-end with
npm run dev
- You can optionally build the project running
npm run build
- Finally access the front-end on your favorite browser (unless it is Internet Explorer. In this case, review your life decisions)
- If you want to run the tests use
npm test