This is a Node.js and Express project for managing personal finances.
- User authentication and authorization
- CRUD operations for income and expenses
- Monthly and yearly financial reports
- Category-based expense tracking
- Clone the repository:
git clone https://github.com/yourusername/finance_backend.git
- Navigate to the project directory:
cd finance_backend - Install dependencies:
npm install
- Start the development server:
npm run dev
- The server will be running at
http://localhost:3000.
POST /api/auth/register- Register a new userPOST /api/auth/login- Login a userGET /api/finances- Get all financial recordsPOST /api/finances- Add a new financial recordPUT /api/finances/:id- Update a financial recordDELETE /api/finances/:id- Delete a financial record
- Fork the repository
- Create a new branch (
git checkout -b feature-branch) - Commit your changes (
git commit -m 'Add some feature') - Push to the branch (
git push origin feature-branch) - Open a pull request
This project is licensed under the MIT License.