An app that allows students to review professors
- CRUD backend for creating professors, users, and subjects
- Rating/reviewing professors
- Professor page with summary of ratings on handled subjects
- Ruby - 2.3.1 / Ruby on Rails - 5.1.6
- ReactJS
- Sqlite
-
Install RVM and ruby 2.3.1
-
Clone the project
git clone https://github.com/lyc4n/prof-review.git
-
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
-
Run bundle install
bundle install
-
Create the database
rails db:create
-
Run migrations
rails db:migrate
-
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)
- [email protected]
- password
-
-
Make sure you have yarn installed
-
Install js dependencies
yarn
-
Run webpack-server
./bin/webpack-dev-server
-
Run rails server on another terminal tab
rails s
- Run
rspec
- Complete feature test
- Let user see other reviews for a class