Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

Files

Latest commit

8987b5c · Sep 20, 2023

History

History

token-transfer-server

Instructions to start the server

Configure your environment
export SESSION_SECRET="Don't tell anyone."
export ENCRYPTION_SECRET="It's a secret"
export SENDGRID_FROM_EMAIL="Origin Protocol <support@shoporigin.com>"
export SENDGRID_API_KEY="<SendGrid key>"
export CLIENT_URL"=http://localhost:3000/#"
export DATABASE_URL="postgres://origin:origin@localhost/origin"

Setup

nvm install 10.15.3
yarn install

Run migration

yarn run migrate
Start the server
yarn run start