React authentication frontend starter
This is a React starter set up that hits routes for registering a user on a Ruby on Rails backend API. It allows users to log in and out using http cookies.
It is based on Jordan Hudgens set up with some mods.
Some differences:
Node version
React version
Starting the app
The routes
Usage
- On the home page, you should be able to register, log in and log out. Upon registering and logging in, you will be redirected to the Dashboard page - which is open to further design.
The API
- This app is meant to communicate with this Ruby on Rails API running on http://localhost:3001. The rails api allows you to register a user, log in, log out.
- I also added in displaying some user information on the Dashboard page.
- The database setup for the rails api is MySQL, but that could be modified.
Credit
- Appears that Jordan made the es6-webpack2-starter that this is based on for students, his notes below:
Provided for the students of the Bottega Code School
Fork from es6-webpack2-starter