Backend for an Expense Tracker App
It uses the Model-> Service -> Controller -> Routes
Architecture
Language: TypeScript
Server: Node, Express
Database: MongoDB
-
Joi - For Validation
-
Mongoose - For interacting with MongoDB
-
Morgan - For Requests Logging
-
JWT - For token creation
- Role Based Users
git clone https://github.com/SheyiB/ExpenseAppBackendTs
cd ExpenseAppBackendTs
npm install
npm run dev
To run this project, you will need to add the following environment variables to your .env file
PORT
JWT_SECRET
JWT_EXPIRE=30d