Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/desmondsanctity/node-redis-otp
A Node.js application that utilizes redis caching capabilities for managing OTPs authentication and verifications
https://github.com/desmondsanctity/node-redis-otp
cache-storage nodejs otp-verification redis redis-client
Last synced: about 2 months ago
JSON representation
A Node.js application that utilizes redis caching capabilities for managing OTPs authentication and verifications
- Host: GitHub
- URL: https://github.com/desmondsanctity/node-redis-otp
- Owner: DesmondSanctity
- License: gpl-3.0
- Created: 2023-05-27T14:46:50.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-01T16:12:58.000Z (about 1 year ago)
- Last Synced: 2024-05-30T02:17:51.951Z (7 months ago)
- Topics: cache-storage, nodejs, otp-verification, redis, redis-client
- Language: JavaScript
- Homepage:
- Size: 81.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# node-redis-otp
A Node.js application that utilizes Redis caching capabilities for managing OTPs# Working with the Project
Download this project from the above link and check out a new branch from the main branch. Create an env file in the project as `.env` and put the below code inside it.
.env
```bash
JWT_SECRET=
ATLAS_URI=
```Run the application using the command below:
```bash
npm install && npm start
```> **Note:** The **JWT_SECRET** and **ATLAS_URI** are important to work with this project. You can generate a JWT token using any algorithm or command of choice. The ATLAS URI should be gotten from your MongoDB setup. Now, create all these variables in the project and make sure you set the values for all the variables. Otherwise, the project will not work.