A MERN application using basic CRUD operations , authentication.
Deployed link : https://codebugged-ai-front.vercel.app
https://codebugged-ai-back.vercel.app
- Features
- Tools and Technologies
- Dependencies
- Dev-dependencies
- Prerequisites
- Installation and setup
- Backend API
- frontend pages
- npm scripts
- Useful Links
- Signup
- Login
- Logout
- Home Page for movie details
- Form validations in frontend and backend
- Use of 404 page for wrong data
- Relevant redirects
- Use of layout component for pages
- Use of various React hooks
- Routes protection
- Use of different HTTP status codes for sending responses
- Standard pratices followed
- HTML
- CSS
- Javascript
- Node.js
- Express.js
- React
- Mongodb
Following are the major dependencies of the project:
- face-api.js
- react-webcam
- axios
- react
- react-dom
- react-router-dom
- dotenv
- cors
- dotenv
- express
- mongoose
Following are the major dev-dependencies of the project:
- nodemon
- Node.js must be installed on the system.
- You should have a MongoDB database.
- You should have a code editor (preferred: VS Code)
-
Install all the dependencies in client and Backend
npm install
-
Create a file named ".env" inside the Config folder of backend. Add following data to your .env file
-
PORT=9000 CORS_URL=http://localhost:3000 MONGODB_URL=YOUR_MONGO_URL
-
Start the application
nodemon server.js in backend and npm start in client
-
Go to http://localhost:3000
- POST /api/user/register - POST /api/user/login
- / Home Screen (Public home page for movie details for logged-in users) - /register Signup page - /login Login page
Inside frontend folder:
-"start": "react-scripts start" -"build": "react-scripts build" -"test": "react-scripts test" -"eject": "react-scripts eject"
-
This project
- Github Repo: https://github.com/sachinsingh3232/Face-Login
-
Official Docs
- Reactjs docs: https://reactjs.org/docs/getting-started.html
- npmjs docs: https://docs.npmjs.com/
- Mongodb docs: https://docs.mongodb.com/manual/introduction/
- Github docs: https://docs.github.com/en/get-started/quickstart/hello-world