Skip to content

mateusalexandre6/finances-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Personal Finance Backend

This is a Node.js and Express project for managing personal finances.

Features

  • User authentication and authorization
  • CRUD operations for income and expenses
  • Monthly and yearly financial reports
  • Category-based expense tracking

Installation

  1. Clone the repository:
    git clone https://github.com/yourusername/finance_backend.git
  2. Navigate to the project directory:
    cd finance_backend
  3. Install dependencies:
    npm install

Usage

  1. Start the development server:
    npm run dev
  2. The server will be running at http://localhost:3000.

API Endpoints

  • POST /api/auth/register - Register a new user
  • POST /api/auth/login - Login a user
  • GET /api/finances - Get all financial records
  • POST /api/finances - Add a new financial record
  • PUT /api/finances/:id - Update a financial record
  • DELETE /api/finances/:id - Delete a financial record

Contributing

  1. Fork the repository
  2. Create a new branch (git checkout -b feature-branch)
  3. Commit your changes (git commit -m 'Add some feature')
  4. Push to the branch (git push origin feature-branch)
  5. Open a pull request

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors