Auth
This project is an example of how to make a session-based authentication system using Node & React.
Backend
Install dependencies
npm install
Run server
node app.js
Environment variables
Copy .env.example
cp .env.example .env
Fill out variables in .env
.
Database
Make sure you have mysql running locallt.
Run setup script
node setup.js
Frontend
Install dependencies
npm install
Run server
npm run start