Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/matvey1347/mern-user-auth
Register, Login, Logout user in node.js and React
https://github.com/matvey1347/mern-user-auth
bcrypt cors environment express jwt mongodb mongoose node nodejs react reactbootstrap token
Last synced: 8 days ago
JSON representation
Register, Login, Logout user in node.js and React
- Host: GitHub
- URL: https://github.com/matvey1347/mern-user-auth
- Owner: Matvey1347
- Created: 2025-01-14T09:55:25.000Z (23 days ago)
- Default Branch: main
- Last Pushed: 2025-01-18T14:57:01.000Z (19 days ago)
- Last Synced: 2025-01-29T14:18:45.431Z (8 days ago)
- Topics: bcrypt, cors, environment, express, jwt, mongodb, mongoose, node, nodejs, react, reactbootstrap, token
- Language: TypeScript
- Homepage:
- Size: 1.04 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## MERN Messanger
This project is built on the MERN stack (MongoDB, Express.js, React, Node.js) and includes essential user authentication functionality. It features:User Registration: Secure and efficient user signup with data validation.
Login: Allows users to log in using their credentials, with session or token-based authentication.
Logout: Enables users to log out safely, clearing their session or token.## Run Locally
Install dependencies
```bash
npm i
```Start the client
```bash
npm run dev
```Change .env in client & server
Start the server
```bash
node index.js
```