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.
npm install
npm run start
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"