Skip to content

Latest commit

 

History

History
50 lines (35 loc) · 866 Bytes

README.md

File metadata and controls

50 lines (35 loc) · 866 Bytes

Rails API

Run In Postman

Regular Setup

bin/bundle install

Database setup

rails db:create
rails db:migrate
rails db:seed

Start server

bin/rails s

Docker setup

cp .env.example .env # Fill with your details
docker compose up --build

Database setup

docker compose run api rails db:create
docker compose run api rails db:migrate
docker compose run api rails db:seed

Tests

rspec .

Linting

rubocop -a