The project provides api to manage users spendings daily and amounts lent and borrowed.
The project uses NodeJs (NPM) and MySql Database.
git clone https://github.com/holahmide/finance-tracker-api.git finance-tracker
cd finance-tracker
npm install
- Install mysql database on your system.
- Run mysql process at the background.
- Create a database for the project (Get Name, Password and Host)
touch .env
nano .env
Add the properties in the .env.example
file to the .env
file
Select a PORT for the app to run on your local machine (e.g 8000).
Fill in the correct DB data.
Generate a jwt token for the project.
# for development testing
npm run dev
# for production testing
npm run start
Feel free to clone, add improvements and open pull requests.