Simple Rails API + JWT authentication
https://medium.com/@riskimidiw/rails-api-jwt-authentication-a04503ea3248
- Ruby 2.5.1
- Rails 5.1.2
- Json Web Token (JWT)
- PostgreSQL
- Bcrypt
- Cloudinary
- Carrierwave
-
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