Skip to content

fikrcamp/expense-express

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Express expense tracker task

Your are required to create some endpoints and each endpoint must do a specific task. This project you will be adding, removing, editing and getting expenses data. Below are the endpoints and their methods that are required:

  1. /expenses GET => response should be list of expenses
  2. /expenses POST => should add to the expense list and the body should include description & amount
  3. /expense/id DELETE => should delete the specific expense by the id that is passed
  4. /expense/id PUT => should edit the specific expense and the body should include description or amount or both
  5. /expense/total GET => should return the total amount of all expenses
  6. /expense/id GET => just get one expense with that specific id passed

For number 3,4 & 6 you need to figure out the concept of params and your task is to try and figure out how to use it using the express documentation or any other resource you find.

Good Luck!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published