Books that we loved is a platform that user can swap their books with others without any cost. Quite often after we finish a book, we might not want or be able to keep the book, such as moving, not having enough space, or simply do not want to keep it. In that case, instead, we send them to a landfill, would it be nice we can use that book to swap with something we want to read?
Books that we loved targets anyone who loves books!!! Especially those who want to swap their books with some new books to read.
Deployed website through heroku
- User can post their books up for swapping
- User can edit or delete their owned books
- User can select their favorite genres when they first sign in and this information will display on the request form to help the requester to choose which book to offer
- Users can request to swap one of their books with a book that they wish to read
- User can edit or delete requests they made
- User can accept or decline any requests they receive
- User can find books by authors and genres options in the top bar, or use the search bar
- Ruby: Version 3.0.2
- Ruby on Rails: Version 6.1.4.1
- HTML5
- CSS
- PostgreSQL
- heroku
I am using heroku for deploying and Cloudinary for hosting uploaded images.
** This app is developed in Ruby and requires Ruby installed to run. Please check out here to find instructions to download and install Ruby for your operating system.
-
Please ensure Ruby is installed or is using the correct version (Ruby 3.0.2).
-
Please ensure Bundler is installed or is using the correct version (Bundler 2.2.28.).
-
Please ensure Postgres is installed or is using the correct version (postgres 14.0).
-
Download the file `Books-that-we-loved-main.zip 'and unzip.
-
Use command line to change directory into that unzip folder:
cd (path to src folder)
Example:
cd Downloads/Books-that-we-loved-main
- Once you are in the folder, use command line to install required gems:
bundle install
- Then use command line to create the database and seed the data:
rails db:setup
- GoogleBooks ~> 0.0.9
- Cloudinary ~> 1.21
- ActiveStorage Cloudinary Service ~> 0.2.3
- Devise ~> 4.8
- Rolify ~> 6.0
- Dotenv Rails ~> 2.7
- Pundit ~> 2.1