Skip to content

This Ruby on Rails capstone is based on an app for grouping activities by categories with your family/friends. Built with Rails, RSpec, Heroku, Bootstrap, and PostgreSQL.

Notifications You must be signed in to change notification settings

Elukoye/goals_app

Repository files navigation

Project: Building Goals App

Screenshot (167)

Live version of project : goals_app

Description

This Ruby on Rails capstone is based on an app for grouping activities by categories with your family/friends.It can also be for grouping hours spent on different projects at your university or for grouping kilometers by means of transportations in your family - anything that you can share with other people and group by some category. You can access all the design info (color, typography, layouts) in Design idea by Gregoire Vella on Behance

Special rules

  • Complete Ruby on Rails capstone projects as usual.
  • For Final capstone project:
    • Please read the requirements for both parts: backend and frontend. This will help you to imagine what you need to build.
    • Please build only API for the described project.
    • In addition:
      • Create a user table in your database, so that a given user could only access the objects they created.
      • Create endpoints for admin actions: create / update / delete objects.
      • Nice to have requirement: implement token authentication for admin action endpoints.

Technologies

  • Ruby on Rails
  • Bootstrap 4
  • PostgreSQL
  • RSpec
  • Capybara

Features

  • A user can register for an account
  • A user can login and logout
  • A user can create activities/projects
  • A user can create groups/categories

Added Feature

  • Created a drop down menu for every category added in the project/new page.It displayes the most recent category created first.

Environment

Getting started

  • To get started with the app, clone or download the repo :Clone the repo

Install the gems:

  • Run bundle install --without production command in your terminal to install the needed gems in your Gemfile

Connect to the Database :

  • Run rails db:create

Migrate the database:

  • Run rails db:migrate to run the migration files

Run Yarn:

  • Run Yarn command in terminal incase you get a warning about yarn not being installed
  • This is because rails version 6 and above uses yarn to install webpacker which bundles and runs Javascript files instead of sprockets.

Start the rails server:

  • Run: rails s to start the sever
  • Type localhost:3000 on your browser(or whatever port you are connected to) to view your app on the browser

Running RSpec tests:

  • Add rails-rspec,capybara and factory_bot gems in :test and :development group in the gemfile
  • Run bundle install
  • Run rails generate rspec:install to generate boilerplate config files
  • Run rspec command to run the test files
  • If all the tests pass,then start the server
  • Click here for a more details about setting up RSpec in a rails app

AWS postgres installed but unrecognized?:

  • Run sudo yum install postgresql-server:TO INSTALL POSTGRES SERVER type “ sudo service postgresql initdb” first before starting postgresql server

Deploy to Heroku:

Show your support

  • Give a ⭐️ if you like this project!

📝 License

Authors

👤 Author1

About

This Ruby on Rails capstone is based on an app for grouping activities by categories with your family/friends. Built with Rails, RSpec, Heroku, Bootstrap, and PostgreSQL.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published