GithubHelp home page GithubHelp logo

sanchan / rails-react-auth Goto Github PK

View Code? Open in Web Editor NEW
5.0 3.0 1.0 47 KB

A Rails + React + JWT authentication starter kit ๐Ÿš€

License: MIT License

JavaScript 30.34% HTML 1.02% CSS 0.67% Ruby 67.97%
react rails-react redux rails

rails-react-auth's Introduction

About

rails-react-auth is an out of the box solution to have a rails server (API) with devise and JWT support and a React application with a basis authentication system.

Also, we include material-ui as dependency for the UI, but this is completely optional.


Running the Example Locally

1. git clone https://github.com/sanchan/rails-react-auth.git
2. cd rails-react-auth

Server
1. cd server
2. bundle install
3. rails db:setup
4. rails s

Client
1. cd client
2. npm install
3. npm start

Yay! You got the application working on http://localhost:4000 (the API works on port 3000)

For development for the client application you can open a new terminal and run:

npm run watch

to recompile the client everytime that a file changes.

rails-react-auth's People

Contributors

sanchan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

kenyacoastie

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.