简体   繁体   中英

Setting up Rails Api with Devise JWT for ReactJS Web App in 2019

I'm trying to create a new web app using RoR Api and Devise for User authentication and a ReactJS front-end. What I'm looking for are links to an up-to-date github app that uses these things with clean, up-to-date code as well as links to any tutorials that are also up-to-date (as of April 2019).

I'm in the process of using Devise in my app for the api and the issues I am having are essentially different tutorials doing it a bunch of different ways.

Always refer to the official docs on GitHub for every gem. They are always up to date and fairly simple to use.

For Devise , refer to Devise Gem

For JWT , refer to JWT Gem

For ReactJS with Rails, refer to React-Rails Gem

I am using the same gems. Visit the links, read them thoroughly and follow the instructions diligently. Always works.

Hope it helps.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM