Skip to content

riskimidiw/rails-jwt

Repository files navigation

rails-jwt

Simple Rails API + JWT authentication

Tutorial

https://medium.com/@riskimidiw/rails-api-jwt-authentication-a04503ea3248

Dependencies

  • Ruby 2.5.1
  • Rails 5.1.2
  • Json Web Token (JWT)
  • PostgreSQL
  • Bcrypt
  • Cloudinary
  • Carrierwave

Installation

  • Clone this project

      $ git clone https://github.com/riskimidiw/rails-jwt.git
    
  • Change directory to this project

      $ cd rails-jwt
    
  • Install dependencies

      $ bundle install
    
  • Create database

      $ rake db:create
    
  • Run migration

      $ rake db:migrate
    
  • Run this project

      $ rails server 
    

About

Rails API + JWT authentication

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published