Requirements
- node
- yarn or npm
- Airtable account (free)
- Mailtrap account (free)
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
- 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)