Skip to content

lyc4n/prof-review

Repository files navigation

Prof Review

Maintainability

An app that allows students to review professors

Features

  • CRUD backend for creating professors, users, and subjects
  • Rating/reviewing professors
  • Professor page with summary of ratings on handled subjects

Technologies

  • Ruby - 2.3.1 / Ruby on Rails - 5.1.6
  • ReactJS
  • Sqlite

Setup

  1. Install RVM and ruby 2.3.1

  2. Clone the project

    git clone https://github.com/lyc4n/prof-review.git
  3. cd into the project (this will create the gemset and ask you to install ruby 2.3.1 if you don't have it)

    cd prof-review
  4. Run bundle install

    bundle install
    
  5. Create the database

     rails db:create
  6. Run migrations

    rails db:migrate
  7. Seed the database

    rails db:seed
    • This will create AdminUser, User, Professor, and Subject records.

    • The generated AdminUser will have the following login detail and can login through /admin (once the server is running)

  8. Make sure you have yarn installed

  9. Install js dependencies

    yarn
  10. Run webpack-server

    ./bin/webpack-dev-server
  11. Run rails server on another terminal tab

    rails s

Running test

  1. Run
    rspec

TODOs

  • Complete feature test
  • Let user see other reviews for a class

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published