Client and server authentication app. Made using:
- react
- redux
- bcrypt
- express
- passport js
- mongodb
##Start server and DB
To start, cd in to server npm i
and npm start
.
Install mongodb. Once you have Mongodb installed create a data directory in inside the app directory with mkdir -p /data/db you might need to use sudo mkdir -p /data/db
Set permissions using: sudo chown -R $USER /data/db
Finally start the db in a new terminal tab/window with mongod
Remember to shut down mongod runing on local port http://stackoverflow.com/questions/6478113/unable-to-start-mongodb-local-server
##Start client
cd in to client, npm i
and npm start
.