Skip to content

kylewhittemore/react-sequelize-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React-Sequelize with Passport Authentication

A full-stack application template complete with passport local strategy authentication

Stack:

  • node and express
  • sequelize ORM
  • passport js authentication
  • create-react-app

How to Use This Template

  • click "use template" next to the clone button, this will create a new repository on your github account

  • clone the repository down to your machine

  • create a mySql database named as you like

  • run   npm install

  • run   touch .env  in the root of your repository

  • open the .env file

  • add the four environmental variables that will be used to connect to the database:
           DB_PASSWORD=yourpassword
           DB_HOST=127.0.0.1
           DB_USER=root
           DB_NAME=yourDBname

  • In development, the server and client are started separately.

  • run   npm start in the root of the project to start the server

  • run   npm start in the root of the client folder to start the client

Releases

No releases published

Packages

No packages published