The Bookshelf web app allows users to browse books on the NYTimes Bestsellers list and add them to their list to read later.
Created in Ruby 2.6.1, React 16.12.0, and Redux 4.0.4.
Code for adding user authentication was adapted from Alejandro Sabogal, "React with Rails User Authentication", Medium. Nov. 11, 2019. https://medium.com/how-i-get-it/react-with-rails-user-authentication-8977e98762f2
-
Clone this repo to your local machine with
https://github.com/radville/bookshelf -
From the
bookshelf-apifolder, runbundle installin the terminal to add all gems from the Gemfile -
Create and initialize the postgres database by running
rails db:createand thenrails db:migrate -
Start the Rails API site by entering
rails sin the terminal from thebookshelf-apifolder. -
From the
bookshelf-frontendfolder, runnpm installin the terminal to download packages and dependencies. -
Launch the frontend with
npm startfrom thebookshelf-frontendfolder -
In the browser, go to
http://localhost:3001to see the app.
- Ruby on Rails - The web framework used to generate user booklist API
- React - The JavaScript library used to build frontend interface
- Redux - The state container used
-
Fork this repo
-
Clone the repo to your local machine with
https://github.com/radville/bookshelf -
Make your edits!
-
Create a new pull request
- Laura Radville - Initial work - (https://github.com/radville/)
This project is licensed under the MIT License - see the LICENSE.md file for details