FULLSTACK-AUTH
A playground for authentication and authorization
Using...
express
because its simple.
cors
to deal with that pesky cors stuff...
JWT
create web tokens
express-jwt
a better authentication for JWT than ryo.
dotenv
for using env config variables
helmet
because it's better to be safe
pg
postgresql database in node.js
argon2
keep it secret, keep it safe as they say... so use argon2id award winning hash algorithm over bcrypt for your passwords.
react
To keep it simple.
bootstrap
To make it elegant.
js-cookies
To gain access to cookies simply
... and future libraries
Get Started
To use this project pick a strategy and run the scripts for bother server and client.
set .env with a secret key and pg credentials.
JWT
Client
npm run start
cd into client and npm run start
Server
npm run jwt-strat
Sessions
Client
npm run start
cd into client and npm run start
Server
npm run sesh-strat
cd into server and npm run sesh-strat