SelinaLaveryDev / Project4-Budget-Plan-pal

Budget Plan Pal, SEI Project 04 at General Assembly. A full-stack budgeting app made using Ruby on Rails, PostgreSQL, Devise authentication and SASS. Solo project built in 6 days.
https://morning-anchorage-14468.herokuapp.com/
0 stars 0 forks source link
rails ruby ruby-on-rails sass

Budget-Planner-Pal

I created this full-stack budgeting app using Ruby on Rails and PostgreSQL. It was my fourth project for General Assembly and enabled me to put into practice what I had learned about Ruby during the course.

budget app

Live Demo

The App is deployed by Heroku and is available here

Getting Started/Code Installation

To access and run the code for this project, follow these steps:

Timeframe

5 days - solo project

Technology

Brief

Day 1 - Planning

I decided to create a budget app, and began by planning out how the user could use the app:

User Stories

Wireframe

Screenshot 2023-03-03 at 14 51 04

Screenshot 2023-03-03 at 14 51 13

ERD

Screenshot 2023-03-03 at 13 42 20

Active Record Associations

Day 2 - 4 - Build Process

Database Configuration

I created the User and Transaction tables for the database using db:create and db:migrate commands:

create user table create trans table

I then seeded the database with 5 dummy users and created some transactions for each user:

seeds

Models and Controllers

In Rails, the Model-View-Controller (MVC) architecture is used to organise code and separate different concerns in the application. Models are responsible for handling data and interacting with the database. From the app/models directory, here is the User model in my application:

user

bpp app

Routes

bpp routes

rails routes -e

Challenges

bpp trans

ruby sass

Wins

Key Learnings

db examples

Bugs

Future Improvements