The Expense Tracker app provides a way to track personal spending habits. New users must create an account in order to log in. Once authenticated, users can create, view, update, and delete their expenses.
To visit the deployed client, please click here.
To visit the deployed api, please click here.
Visit the frontend repo here.
In creating this API I used Ruby on Rails and the deployed app is hosted on Heroku.
When first planning my application I created the wireframe and about a dozen user stories. Once I felt comfortable with my planning, I built the API. Once the API was completed I worked on the front-end functionality. Once I was satisfied with the behaviors of the front-end I completed the styling.
There is currently no way for the user to sort their expenses.
I would like to add a search option and a sort option which would provide the user with more ways to view their expense information.
- Fork and clone this repository.
- Move into the new directory.
- Install dependencies by running
bundle install
. - Start the server by running
bin/rails server
.
Action | What It Does | HTTP Verb | URL |
---|---|---|---|
index | Return a list of current user expenses. | GET | /expenses |
create | Create a new expense. | POST | /expenses |
show | Return a single expense. | GET | /expenses/:id |
update | Update a single expense. | PATCH | /expenses/:id |
destroy | Destroy a single expense. | DELETE | /expenses/:id |
- As a user, I want to be able to create a new expense.
- As a user, I want to be able to see all my expenses.
- As a user, I want to be able to view a single expense.
- As a user, I want to be able to update an expense.
- As a user, I want to be able to delete an expense.
Stretch:
- As a user, I want to be able to sort expenses by date.
- As a user, I want to be able to sort expenses by amount.
- As a user, I want to be able to sort expenses by category.
- As a user, I want to be able to see a graph of my expenses.