API part of app that help you create your own virtual library. Rate and review books. Manage collections of books that you read, are reading or want to read.
A live demo can be viewed here: https://library-of-babel.netlify.app/
- Ruby 3.0+
- Git
- Account in Cloudinary service
- Set up of frontend project: https://github.com/Skonry/library-of-babel-front
-
Clone the repo locally:
git clone https://github.com/Skonry/library-of-babel-api.git
-
Navigate to project directory:
cd library-of-babel-api
-
Create the database.yml file
cp config/database.yml.example config/database.yml
-
Install the gems:
bundle install
-
Create and seed the database:
rails db:create
rails db:migrate
rails db:seed
-
Create account in Cloudinary service and configure Cloudinary library https://cloudinary.com/documentation/rails_integration#configuration
-
Start app:
rails server
-
Set up frontend part of app if it isn't already done.