This is an expense tracker app built using ReactJS, MongoDB, and NodeJS. The app allows users to track their expenses and incomes by entering information such as the date, description, and amount of each transaction. The app includes a dashboard that displays the user's total expenses, total incomes, and net balance. Users can filter and sort their transactions by various criteria.
To install and run the app on your local machine, follow these steps:
- Clone this repository to your local machine:
git clone https://github.com/YoosufAathil/Expense-tracker-app-using-React-Js.git
- Install the necessary dependencies by running
npm install
in the root directory of the project. - Create a
.env
file in the root directory of the project and add the following variables: PORT=Your_PORT MONGO_URL=your_mongodb_uri_here
Replace your_mongodb_urL_here
with the MONGO_URL for your database and PORT
with a Port Value of your choice.
- Run the app by running
npm start
in the root directory of the project. The app should now be running onhttp://localhost:3000
.
The app includes tests for the API endpoints using Postman. To run the tests, follow these steps:
- Install Postman on your local machine.
- Import the
Expense Tracker API Tests.postman_collection.json
file into Postman. - Run the tests using the "Collection Runner" feature in Postman.
If you would like to contribute to the development of this app, please create a pull request with your changes. We welcome contributions from anyone, regardless of their level of experience with ReactJS, MongoDB, and NodeJS.