RafaelCosman / taryn-token-signup-server

This is the server code for Taryn Token's signup page.

Home Page:http://taryn.trusttoken.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

taryn-token-signup-server

This is the server code for Taryn Token's signup page. It's a simple express server that uses apollo/graphql to interact with a client.

Instructions

npm install
npm run start

Necessary environment variables

CLIENT_URL: Url of the client application, i.e "http://localhost:3000"
SENDGRID_API_KEY: Sendgrid API
PROVIDER_URL: Ethereum provider, i.e "https://mainnet.infura.io:XYZ"
CONTRACT_ADDRESS: Ethereum coin contract address
SECRET_KEY: Secret key of the ethereum address to mint coins from.
PORT: Port for server to run on, i.e "8080"

About

This is the server code for Taryn Token's signup page.

http://taryn.trusttoken.com/

License:MIT License


Languages

Language:JavaScript 100.0%