Bikeshop is a Ruby on Rails application implementing an API for managing a bicycle shop.
- Ruby 3.2+
- Rails 8.1
- PostgreSQL or Sqlite
-
Clone the repository:
git clone https://github.com/mediafellows/bikeshop.git cd bikeshop -
Install dependencies:
bundle install -
Choose your database. Postgres is setup by default in
config/database.ymlbut there is a config for sqlite there as well -
Set up and seed the databases:
bin/rails db:setup
Run the test suite with:
bin/rspec