Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Complete project submission #10

Merged
merged 67 commits into from
Jan 20, 2024
Merged

Complete project submission #10

merged 67 commits into from
Jan 20, 2024

Conversation

fmanimashaun
Copy link
Owner

@fmanimashaun fmanimashaun commented Jan 20, 2024

Description

This PR implements a Ruby on Rails application that allows users to manage their budget. Users can register and log in, create transactions associated with a category, and view the total amount spent on each category.

Features Implemented

  • User Registration and Login: Users can register with full name, email, and password. Users can log in using email and password. Access to certain pages is restricted to logged-in users.
  • Home Page (Categories Page): Upon login, users are presented with the categories page. Each category displays its name, icon, and the total amount of all transactions belonging to that category. Users can navigate to the transactions page for a category by clicking on the category item. There is also a button to add a new category.
  • Transactions Page: For a given category, the list of transactions is presented, ordered by the most recent. The total amount for the category is displayed at the top of the page. There is a button to add a new transaction.
  • Add a New Category Page: Users can fill out a form to create a new category, indicating their name and icon. Upon saving, users are taken to the home page.
  • Add a New Transaction Page: Users can fill out a form to create a new transaction with a name, amount, and at least one category. Upon saving, users are taken to the transactions page for that category.

Screenshots

Screen Shot 2024-01-20 at 05 26 25
Screen Shot 2024-01-20 at 05 26 33
Screen Shot 2024-01-20 at 05 26 39
Screen Shot 2024-01-20 at 05 27 02
Screen Shot 2024-01-20 at 05 27 10
Screen Shot 2024-01-20 at 05 27 25
Screen Shot 2024-01-20 at 05 27 44
Screen Shot 2024-01-20 at 05 28 06
Screen Shot 2024-01-20 at 05 28 19

Live Demo

Live Demo Link

Video Presentation

Video Presentation Link

Setup and Usage Instructions

Clone the repository to your local machine:

git clone https://github.com/fmanimashaun/budget-app.git
cd budget-app
bundle install
npm install

Database Setup

This application uses PostgreSQL as the database. Here are the steps to set it up:

  1. Ensure PostgreSQL is installed on your machine and running.
  2. Update the config/database.yml file with your PostgreSQL username and password in the default section.
  3. Create the database:
rails db:create
  1. Run migrations to set up the database schema:
rails db:migrate

Usage

To run the program, you can use a Ruby interpreter. For example, to interact with the code, use the following:

  1. Start the server
bin/dev
  1. Access the Blog app in your web browser at http://localhost:3000.

Testing Instructions

  • for linter tests:
    • Rubocop: bundle exec rubocop
    • Stylelint: npx stylelint "**/*.{css,scss}"
  • Unit and integration tests:
    • Rspec: bundle exec rspec

Uploading image.png…

Future Enhancements

  • Add more pages and features

@fmanimashaun fmanimashaun temporarily deployed to combined-soln - budget_app January 20, 2024 12:15 — with Render Inactive
@fmanimashaun fmanimashaun temporarily deployed to combined-soln - budget_app January 20, 2024 12:28 — with Render Inactive
@fmanimashaun fmanimashaun temporarily deployed to combined-soln - budget_app January 20, 2024 14:31 — with Render Inactive
@fmanimashaun fmanimashaun temporarily deployed to combined-soln - budget_app January 20, 2024 14:35 — with Render Inactive
@fmanimashaun fmanimashaun temporarily deployed to combined-soln - budget_app January 20, 2024 14:55 — with Render Inactive
@fmanimashaun fmanimashaun temporarily deployed to combined-soln - budget_app January 20, 2024 19:09 — with Render Inactive
@fmanimashaun fmanimashaun temporarily deployed to combined-soln - budget_app January 20, 2024 19:22 — with Render Inactive
@fmanimashaun fmanimashaun temporarily deployed to combined-soln - budget_app January 20, 2024 19:26 — with Render Inactive
@fmanimashaun fmanimashaun temporarily deployed to combined-soln - budget_app January 20, 2024 19:27 — with Render Inactive
@fmanimashaun fmanimashaun temporarily deployed to combined-soln - budget_app January 20, 2024 19:42 — with Render Inactive
@fmanimashaun fmanimashaun temporarily deployed to combined-soln - budget_app January 20, 2024 19:50 — with Render Inactive
@fmanimashaun fmanimashaun temporarily deployed to combined-soln - budget_app January 20, 2024 19:51 — with Render Inactive
Copy link

@ShadyShawkat ShadyShawkat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @fmanimashaun,

Your project is complete! There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉

To Highlight

  • All linters are passing ✔️
  • Descriptive commit messages ✔️
  • Good overall design ✔️
  • Your code is clean and well documented ✔️

Image

Cheers and Happy coding!👏👏👏

Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.


As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.

@fmanimashaun fmanimashaun merged commit 7cffd93 into dev Jan 20, 2024
4 checks passed
@fmanimashaun fmanimashaun temporarily deployed to combined-soln - budget_app January 22, 2024 07:55 — with Render Inactive
@fmanimashaun fmanimashaun temporarily deployed to combined-soln - budget_app January 22, 2024 07:55 — with Render Inactive
@fmanimashaun fmanimashaun temporarily deployed to combined-soln - budget_app January 22, 2024 07:58 — with Render Inactive
@fmanimashaun fmanimashaun temporarily deployed to combined-soln - budget_app January 22, 2024 07:58 — with Render Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants