Skip to content

efocoder/rails-todo-api

Repository files navigation

README

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

NB: Every request needs a Bearer token except sign up and login.

Up and running

   $ git clone git@github.com: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'

Get running

    $ rails db:migrate
    
    $ rails server

About

A simple REST todo API developed with Rails 6

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published