Book Club is a paired project from Module 2 of the Back-End Engineering Program at the Turing School of Software & Design. The project specifications can be found here. This is a Ruby on Rails application where users can browse books and their authors, and leave reviews for the books. You can see the beautifully deployed site here.
This project covers the basics of a Rails web application, with show and index pages for books, show pages for authors and users, and Create/Read/Delete functionality for books, authors, users, and reviews. The project also makes use of ActiveRecord to build out some statistics, such as:
- Highest Rated Books
- Lowest Rated Books
- Users with the Most Reviews
- Average Review Rating per Book Users are also able to sort books by number of pages, review rating, etc. In addition, the site emphasizes reasonable UI/UX, with basic styling and layout, a complementary color scheme, and fully built out links to all areas of the site.
- Creation of a basic Rails web application
- Implementing basic MVC structure to your project
- Save and retrieve data from a database
- Display content on a web page with some very basic styling
- Learning how to test your code effectively at a Controller and a Model level
If you wish to install this app locally, you can fork or clone the repository here. Make sure you are running the correct versions of Ruby and Rails, indicated below. Installation steps once cloned are as follows: Install the gem packages
$ bundle install
Set up the database
$ rake db:create
$ rake db:migrate
$ rake db:seed
Run the server
$ rails s
Visit http://localhost:3000
in your browser and you should see the locally deployed site!
Once the app is installed locally, you can run the test suite:
bundle exec rspec
We would like to thank our fantastic Mod 2 instructors Dione and Ian for your help with this project and in general at Turing!