GitDeployHub

benjamingr/typescript-node-starter

github.com/benjamingr/typescript-node-starter ↗
Node.js API
5 environment variables found in .env.example

Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.

  • MONGODB_URI secret Get this from https://mlab.com/home after you've logged in and created a database
  • MONGODB_URI_LOCAL secret This is standard running mongodb locally
  • SESSION_SECRET secret Put lots of randomness in these
  • FACEBOOK_ID Facebook keys register your app and get yours here: https://developers.facebook.com/
  • FACEBOOK_SECRET secret
Alternative Fly.io Anything Dockerized — requires the Fly CLI.
macOS
brew install flyctl && fly launch --from https://github.com/benjamingr/typescript-node-starter
Linux
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/benjamingr/typescript-node-starter
Windows (PowerShell)
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/benjamingr/typescript-node-starter
Or deploy to a different host
← Try another repo