Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fmanimashaun/react-authentication
This project is a demonstration of how to create a React application that showcases the latest version of 'react-router-dom (v6.4)' while also illustrating the implementation of authentication and authorization flows using Redux Toolkit for persistent state management.
https://github.com/fmanimashaun/react-authentication
react react-router-v6 redux-toolkit
Last synced: 14 days ago
JSON representation
This project is a demonstration of how to create a React application that showcases the latest version of 'react-router-dom (v6.4)' while also illustrating the implementation of authentication and authorization flows using Redux Toolkit for persistent state management.
- Host: GitHub
- URL: https://github.com/fmanimashaun/react-authentication
- Owner: fmanimashaun
- Created: 2023-10-17T20:50:51.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-18T09:13:55.000Z (about 1 year ago)
- Last Synced: 2024-10-10T07:40:58.769Z (about 1 month ago)
- Topics: react, react-router-v6, redux-toolkit
- Language: JavaScript
- Homepage: https://fmanimashaun.github.io/react-authentication/
- Size: 186 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![](https://img.shields.io/badge/fmanimashaun-green)
# 📗 Table of Contents
- [📖 About the Project](#about-project)
- [🛠 Built With](#built-with)
- [Tech Stack](#tech-stack)
- [Key Features](#key-features)
- [🚀 Live Demo](#live-demo)
- [💻 Getting Started](#getting-started)
- [Setup](#setup)
- [Prerequisites](#prerequisites)
- [Install](#install)
- [Usage](#usage)
- [Run tests](#run-tests)
- [Deployment](#deployment)
- [👥 Authors](#authors)
- [🔭 Future Features](#future-features)
- [🤝 Contributing](#contributing)
- [⭐️ Show your support](#support)
- [🙏 Acknowledgements](#acknowledgements)
- [❓ FAQ (OPTIONAL)](#faq)
- [📝 License](#license)# 📖 React Authentication Project
This project is a demonstration of how to create a React application that showcases the latest version of 'react-router-dom (v6.4)' while also illustrating the implementation of authentication and authorization flows using Redux Toolkit for persistent state management.
- [React](https://reactjs.org/)
- [React Router Dom](https://reactrouter.com/web/guides/quick-start)
- [Redux Toolkit](https://redux-toolkit.js.org/)
- [React Redux](https://react-redux.js.org/)
- [Redux-toolkit](https://redux-toolkit.js.org/)
- [PropTypes](https://www.npmjs.com/package/prop-types)
- [font Awesome](https://fontawesome.com/)
- [jwt-decode](https://www.npmjs.com/package/jwt-decode)- [x] Showcase the capabilities of react-router-dom v6.4 for seamless navigation.
- [x] Implement authentication and authorization flows using Redux Toolkit for state management.- [Live Demo Link](https://github.com/fmanimashaun/react-authentication)
- [Optional] Install git bash to your machine to enable you to clone this repo.
- install Visual Studio to be able to host a local live version.
- Install a browser to view the local live version.To get a local copy up and running follow these simple example steps.
### SetupClone this repository to your desired folder:
```sh
cd your-desired-folder
git clone https://github.com/fmanimashaun/react-authentication.git
open the repo folder `react-authentication`
```Install this project dependencies with:
```sh
npm install
```To run the project, execute the following command:
```sh
npm run start
```Runs the app in the development mode.\
Open [http://localhost:5173/react-authentication](http://localhost:5173/react-authentication) to view it in your browser.The page will reload when you make changes.\
You may also see any lint errors in the console.To run tests to check the lint errors, run the following command:
- To check for CSS lint errors, run the following command:
```sh
npm run stylelint
```- To check for JS lint errors, run the following command:
```sh
npm run eslinter
```To run unit tests, run the following command:
```sh
npm run 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.You can deploy this project to github pages by running the following command:
```sh
npm run deploy```
Builds the app for production to the `dist` 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.\
and it is automatically deployed to the github page.See the section about [github page deployment](https://github.com/gitname/react-gh-pages) for more information.
👤 **Engr. Animashaun Fisayo**
- [GitHub](https://github.com/fmanimashaun)
- [Twitter](https://twitter.com/fmanimashaun)
- [LinkedIn](https://www.linkedin.com/in/fmanimashaun/)
- [Website](https://fmanimashaun.com)- [ ] Improve on the data submission using react-router v6.4 hooks
Contributions, issues, and feature requests are welcome!
Feel free to check the [issues page](../../issues/).
If you like this project and want to support me, you can give a ⭐️ to this repo!
I would like to thank [Dave Gray](https://github.com/gitdagray) for laying the foundation for me to build on.
This project is [MIT](./LICENSE) licensed.