Official backend for the Surely todo app. A JSON:API-compliant web service implmented in Ruby on Rails.
The official frontend is surely-expo. If you'd like to host your own backend, you will need to make your own build of the client to point to it.
- Ruby 3.0.2
- PostgreSQL (e.g. Postgres.app)
$ bundle install
$ rails db:setup
$ bin/serve
To generate models, resources, and controllers:
$ rails generate model widget [fields]
$ rails generate jsonapi:resource widget
$ rails generate jsonapi:controller widget
$ bin/rspec
Heroku is a good backend hosting option.
MIT