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

https://github.com/shravzzv/authentication-with-react-and-express

This is a simple React app that implements authorization via a `jsonwebtoken`. It sends requests to an Express REST API.
https://github.com/shravzzv/authentication-with-react-and-express

auth authentication jsonwebtoken jwt react rest rest-api

Last synced: about 1 month ago
JSON representation

This is a simple React app that implements authorization via a `jsonwebtoken`. It sends requests to an Express REST API.

Awesome Lists containing this project

README

          

# Authentication with React and Express

[Client deployment](https://authentication-with-react-and-express.vercel.app/)

[API deployment](https://react-and-express-auth-api.adaptable.app/)

## Description

This is a simple React app that implements authorization via a `jsonwebtoken`. It sends requests to an Express REST API.

## Features

- Sign up new users using a username and password.
- Sign in using username and password.
- Protected routes in the client.
- Protected routes in the api.

## Technologies Used

[![My Skills](https://skillicons.dev/icons?i=react,express,css,mongodb,postman,vercel,vscode)](https://skillicons.dev)

## How to Contribute

If you'd like to contribute, follow these steps:

1. Fork the repository on GitHub.
2. Clone your fork locally.

```bash
git clone https://github.com/shravzzv/Authentication-with-React-and-Express
cd Authentication-with-React-and-Express
```

3. Create a new branch for your feature or bug fix.

```bash
git checkout -b feature-or-bug-fix-name
```

4. Make your changes, commit them, and push them to your fork.

```bash
git add .
git commit -m "Your commit message here"
git push origin feature-or-bug-fix-name
```

5. Open a Pull Request on GitHub, comparing your branch to the original repository's `main` branch.

## Issue Tracker

Find a bug or want to request a new feature? Please let us know by submitting an issue at the [Issue Tracker](https://github.com/shravzzv/Authentication-with-React-and-Express/issues).

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

---