API backend of todolist app
Add following lines to your /etc/hosts
file to configure DNS:
# Todolist app
127.0.0.1 todolist.local
Install dependencies:
bundle install
Initialize and setup the database:
bundle exec rails db:setup
Run rails server:
bundle exec rails s
Run guard to watch the files for changes and trigger automatic tests and checks:
bundle exec guard
Run tests:
bundle exec rspec
Swagger docs are available at /api-docs
endpoint