This project is an application for calculating expenses. Users can create, edit and delete transactions and group them.
After log in an user can see:
- "All my transactions".
- "All my external transactions".
- "All groups".
- A pie chart showing the group wise transactions.
When user opens "All my transactions" and "All my external transactions" page:
- Total amount is displayed at the top.
- A list of all transactions created by logged-in user is displayed (sorted by most recent).
- Each transaction displays its name, amount and date, and an icon of the group; if it has been assigned to.
- An action button "Add new" is displayed.
- Each transaction is clickable and opens "Transactions Details" page, where user can edit or delete the transaction.
When user opens "All groups" page:
- A list of all groups is displayed (example: "Clothing", "Food", "Music") in alphabetical order.
- Each group displays its icon and name.
- Each group is clickable and opens "Group transactions" page, where user can edit the group.
- An action button "Create new" is displayed.
- The design of the page is similar to the "User profile page"
- Ruby -v 2.7.1
- Rails -v 6.0.3.4
- PostgreSQL
- VScode
To get this project up and running locally, you must already have ruby and necessary gems installed on your computer
To get this project set up on your local machine, follow these simple steps:
- Open Terminal.
- Navigate to your desired location to download the contents of this repository.
- Copy and paste the following code into the Terminal: git clone https://github.com/JavSFDev/Transactions_app.git
- Run
cd transactions_app
. - Run
bundle install
to get the necesary gems. - Run
yarn install --check-files
. - Run
rails db:drop
. - Run
rails db:create
. - Run
rails db:migrate
.
To check the Rspec Testcases on your local machine, follow these simple steps:
- Run
bundle exec rspec
Design idea by Gregoire Vella on Behance
Give a ⭐ Star in this repo on GitHub — it helps!
This project is MIT licensed.