This is a Face recognition web app made using MERN stack which detects the face
of a picture through an API(CLARIFAI) call.
For backend:
"bcrypt": "^5.0.1",
"cors": "^2.8.5",
"dotenv": "^10.0.0",
"express": "^4.17.1",
"mongoose": "^5.12.13",
"nodemon": "^2.0.7"
For Front-End:
"gh-pages": "^3.1.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-parallax-tilt": "^1.5.4",
"react-particles-js": "^3.4.1",
"react-scripts": "^2.1.8",
"react-tilt": "^0.1.4",
"serve": "^11.3.2",
"tachyons": "^4.12.0",
"web-vitals": "^1.1.1"
git clone https://github.com/rajbir21-droid/Face-Recognition.git
-
Change to the directory using -
-
For the back-end:-
npm install
-
For the front-end:-
cd facerecognitionbrain npm install
-
Run this command to start the project.
-
For the back-end:
npm start
-
For the front-end:
cd facerecognitionbrain npm start
- First create a '.env' file then create a key like 'MONGO_URI=' and paste the below command. Make sure you first create an account in Mongodb atlas
mongodb+srv://yourusername:<password>@cluster0.m9l4p.mongodb.net/myFirstDatabase?retryWrites=true&w=majority
- Use your username and password and database name in place of yourusername ,password and myFirstDatabase respectively here that you created in MongoDB atlas