Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/mohamedsamara/node-otp

Node OTP Example with Speakeasy
https://github.com/mohamedsamara/node-otp

nodejs otp speakeasy totp

Last synced: 2 days ago
JSON representation

Node OTP Example with Speakeasy

Awesome Lists containing this project

README

        

# Node OTP

# Description

This project is an example of using Speakeasy Two-factor Authentication in Node.js

## Libraries Used

- [Node](https://nodejs.org/en/)

- [TypeScript](https://www.typescriptlang.org/)

- [Speakeasy](https://github.com/speakeasyjs/speakeasy)

## Quick start

1. Clone this repo using `git clone https://github.com/mohamedsamara/node-otp.git`
2. Move to the directory: `cd `.

3. Run `yarn install` in order to install dependencies.

## Start development

```
yarn run dev
```

## Simple build for production

```
yarn build
```

## Run build for production

```
yarn start
```