This is a simple REST API developed with Ruby on Rails 6.
To get the application running on your computer.
- Ruby version 3.0.3
- Rails version 6.1.5
- sqlite3
$ git clone [email protected]:efocoder/rails-todo-api.git
$ bundle install
- Set the secret for JWT
$ rake secret
- copy the secret to and update the credentials.
$ EDITOR=nano rails credentials:edit
-
update the credentials with the secret you copied
-
devise: jwt_secret: 'secret here'
$ rails db:migrate
$ rails server