Books management application (API)
- Ruby 3.0.2
- Rails 6.1+
- Postgresql 13+
Clone the repo.
git clone https://github.com/warshavski/booky-api.git
cd into the directory and install the reqirements.
cd booky-api && bundle install
set up the database
rake db:create
rake db:migrate
rake db:seed
Start the server
rails s
Running all tests.
bundle exec rspec
Running a specific test file
bundle exec rspec ./spec/path/to/file
Setup the project
make setup
Start the application server
make up
Run specs
make test
Run console
make console