A basic implementation of json api. Without production purposes. Just for training.
Standard steps for rails app
bundle install
rails db:create; rails db:migrate
Optional:
Set up Overcommit to run Rubocop before commits and tests before push. I use it for convenience.
Overcommit is base on git hooks.
rails s
and in a separate tab bundle exec sidekiq
Caching is disabled in dev environment. Modify config/environments/development.rb
to get it running.
Rspec is testing framework.
FactoryBot - factories (fixture replacement).
Run tests rspec spec