Ruby on Rails Rest API of a Bookshelf
-
Install the Ruby version
2.7.3
(manually or using rvm for example) -
Install PostgreSQL (for example via brew)
-
Run
bundle install
to install all the necessary gems -
Create the database with
rails db:create
followed byrails db:migrate
andrails db:seed
-
Start the server with
rails s
-
Try
http://127.0.0.1:3000/
- Run
rspec
to see all the tests that are in place