An open API service indexing awesome lists of open source software.

https://github.com/bekcodingaddict/login-and-registration-using-mern-stack-

In MERN stack development, the login and registration system typically refers to the implementation of user authentication and authorization functionalities using MongoDB, Express.js, React.js, and Node.js. Here's a brief overview of how it's typically done.
https://github.com/bekcodingaddict/login-and-registration-using-mern-stack-

back-end-development front-end-development fullstack-development mern-stack-development

Last synced: 12 months ago
JSON representation

In MERN stack development, the login and registration system typically refers to the implementation of user authentication and authorization functionalities using MongoDB, Express.js, React.js, and Node.js. Here's a brief overview of how it's typically done.

Awesome Lists containing this project

README

          

# Login-and-Registration-using-MERN-Stack
### About:
- In MERN stack development, the login and registration system typically refers to the implementation of user authentication and authorization functionalities using MongoDB, Express.js, React.js, and Node.js. Here's a brief overview of how it's typically done:
- MongoDB: MongoDB is used as the database to store user information such as usernames, passwords (usually hashed for security), email addresses, and any other relevant data.
- Express.js: Express.js is used to create the server-side logic and APIs (Application Programming Interfaces) for handling user authentication and registration requests. It's common to use libraries like Passport.js for implementing authentication strategies such as local authentication (using username and password) or OAuth (for social media authentication).
- React.js: React.js is used to create the user interface (UI) for the login and registration forms. These forms typically collect user input such as username, email, and password and send requests to the server for authentication or registration.
Node.js: Node.js is used as the server runtime environment to handle HTTP requests from the frontend (React.js) and interact with the database (MongoDB). It runs the Express.js application and serves as the backend logic for user authentication and registration.

- [x] Tools:
- [ ] Front-End:
- Reduxjs/toolkit
- Antd
- Axios
- BcryptJS
- JSONwebToken
- NodeMailer
- React-Redux
- React-Router-DOM
- [ ] Back-End:
- React ReduxJS/Toolkit
- BcryptJS
- Dotenv
- JSONwebToken
- Mongoose
- Nodemon

# How to run ?
- [ ] 1. Terminal-> npm i
- nodemon server
- [ ] 2. Terminal->cd client -> npm i
- npm start

# Getting Started with Create React App

This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).

## Available Scripts

In the project directory, you can run:

### `npm start`

Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in your browser.

### `npm test`

Launches the test runner in the interactive watch mode.\
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.

### `npm run build`

Builds the app for production to the `build` folder.\
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.\
Your app is ready to be deployed!

See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.

### Code Splitting

This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)

### Analyzing the Bundle Size

This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)

### Making a Progressive Web App

This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)

### Advanced Configuration

This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)

### Deployment

This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)

### `npm run build` fails to minify

This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)