luca-montaigut / react_boilerplate

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React_Boilerplate

Associated API boilerplate : Rails 6 API

Content

Starter for api-based project with :

  • Authentication (Register/Login/Logout) config ready with the associated API
  • 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 git@github.com: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

About

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


Languages

Language:JavaScript 91.5%Language:HTML 7.1%Language:CSS 1.4%