This is a web application with authentication using React and react-router on the frontend and node.js, express, mongodb, and mongoose on the backend. (inspired by https://github.com/faizanv/react-auth-example)
App is specially done with vulnerabilities that are described in report.pdf
and their fixes are in fixes
folder
To run the application first clone the repository
git clone git@github.com:Maruf-co/hack-auth-app.git
Install the dependencies
npm install
Make sure that MongoDB is running
mongod
run the server
npm run server
and then in a separate window/tab run the frontend
npm start
The application should be running at http://localhost:3000/
This project was bootstrapped with Create React App. You can find the most recent version of their guide here.