Skip to content

Rails app used for hosting video tutorials and classes. Serves as the base repository for a B3 project.

Notifications You must be signed in to change notification settings

Matt-Weiss/brownfield-of-dreams

 
 

Repository files navigation

Brownfield of Dreams

About

This is the week 2-3 paired project at Turing School's Backend Engineering program. The aim of the project is to use the following skills:

  • Build on an existing code base and work with technical debt
  • OAuth
  • Consume an API
  • BDD using RSpec and Capybara
  • Deploy project to production
  • Email functionality

The application allows users to view tutorials related to the program. Much of the code was inherited to give us experience dealing with existing code bases, and to train us to recognize why particular decisions may have been made. We were encouraged to recognize and avoid future technical debt. The GitHub API is consumed to allow users to view their repos, followers, and following as well as the ability to add friends.

In our case, friends are added by using a separate standalone app providing an API. The code and README for this secondary project can be found HERE.

Installation & Setup

Follow these steps to get this application running on your local machine:

Clone down the repo

Run

$ bundle install

to install required gems

Install node, yarn, and stimulus Stimulus is used to add minimal JS functionality to the frontend.

$ brew install node
$ brew install yarn
$ yarn add stimulus

If there is a yarn error **

$ rm yarn.lock && yarn

Set up the database

$ rake db:create
$ rake db:migrate
$ rake db:seed

Run the server

$ rails s

On browser, go to http://localhost:3000/

Testing

The project uses RSpec as the test suite and SimpleCov for reporting test coverage.

Run the test suite:

$ bundle exec rspec

Live Web App

The project is deployed here

To login as admin, email: [email protected] password: password

To use as a regular use, please register and connect to your GitHub account. This will demonstrate implementation of Oauth.

System Requirements

  • Ruby 2.4.1
  • Rails 5.2.0
  • PostgreSQL 11.2

Contributors

John Pterson @joequincy

Matt Weiss @Matt-Weiss

About

Rails app used for hosting video tutorials and classes. Serves as the base repository for a B3 project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 66.3%
  • Ruby 27.2%
  • HTML 5.2%
  • CSS 1.3%