Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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
```