tudorconstantin / expense-tracker

expense
6 stars 2 forks source link

Expenses Rest API #7

Open andreiursan opened 11 years ago

andreiursan commented 11 years ago

Expose REST methods to manage the Expenses resource:

GET /api/expenses - to list current user's expenses GET /api/expenses/:id - to get the details for expense with :id of the current user POST /api/expenses - to create a new expense PUT /api/expenses/:id - to update the expense record with id :id DELETE /api/expenses/:id - to delete the expense record with id :id

tudorconstantin commented 11 years ago

Added tests for categories: