Skip to content

atharvakej/Covin-Assignment

Repository files navigation

Installation & Setup:

  1. Clone the repository

    git clone https://github.com/atharvakej/Covin-Assignment.git
  2. Install dependencies

    npm install
  3. Start Server

    npm start
  4. For Testing

    npm test
PS: Register New Users as DB will be empty

API Doc:

/Convin-AI-API Docs.postman_collection.json

Endpoints:

1. /api/register/user -> Register user
2. /api/user -> Retrieve user details
3. /api/expense/add -> Add Expenditure
4. /api/expense/user -> Retrieve individual expense of a single user
5. /api/expenses/overall -> Retrieve overall expenses
6. /api/generate-balance-sheet -> Generate balance sheet

Testing using Chai/Mocha:

  1. Test Cases Run Test

Example Images:

  1. Register Register

  2. Retrieve User Retrieve User

  3. Add Expense Add Expense

  4. Individual Expense Individual Expense

  5. Overall Expense Overall Expense

  6. Balance Sheet Balance Sheet

  7. Report (PDF) Report

About

Covin AI Backend Assignment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published