Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/luca-montaigut/react_boilerplate

react-router - redux - authentication ready to use with rails api - cookiejs + sass
https://github.com/luca-montaigut/react_boilerplate

authentication rails-api react react-router redux redux-thunk sass

Last synced: about 2 months ago
JSON representation

react-router - redux - authentication ready to use with rails api - cookiejs + sass

Awesome Lists containing this project

README

        

# React_Boilerplate

### Associated API boilerplate : ![Rails 6 API](https://github.com/luca-montaigut/api_rails_6_boilerplate)

## Content
Starter for api-based project with :
- Authentication (Register/Login/Logout) config ready with ![the associated API](https://github.com/luca-montaigut/api_rails_6_boilerplate)
- React Router with authenticated/notauthenticated routes
- Redux and Redux-thunk (with Redux DevTools)
- Cookie Js for handling cookies
- SASS ready to use
- Easy displayable flash messages
- Environnement variable for api url
- Pages: Home, Register, Login, Profile
- Components : Navbar, FlashMessage and Footer

## Installation

`git clone [email protected]:luca-montaigut/react_boilerplate.git`

`cd react_boilerplate`

`npm install`

`echo REACT_APP_API_URL='http://localhost:8080' > .env.local`

`npm start`

Your website is now running on http://localhost:3000

## 🐰 Auteur
Luca Montaigut : https://github.com/luca-montaigut