An example of how to implement your own magic link password-less sign in
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
controllers
public
routes
templates
.eslintrc.json
.gitignore
README.md
app.js
example.variables.env
package.json
start.js
webpack.config.js
yarn.lock

README.md

Getting Started

Requirements

  • node
  • yarn or npm
  • Airtable account (free)
  • Mailtrap account (free)

Usage

Install Dependencies

yarn

Set your environment variables

Change the example.variables.env to variables.env

Set your Airtable API key and Base ID

This demo reqires an Airtable account with a base with a table users with the fields:

  • name
  • email
  • token
  • token_date

Set your SMTP info

This demo requires Mailtrap

Start server and watch files

yarn start

Visit in browser http://localhost:7777. The default port is 7777 but you can change this in your environment variables file (variables.env)