Skip to content

Instantly share code, notes, and snippets.

@tcaer
Last active April 14, 2020 04:16
Show Gist options
  • Save tcaer/2191cdc6c0b7f01242f0600c5b9dc746 to your computer and use it in GitHub Desktop.
Save tcaer/2191cdc6c0b7f01242f0600c5b9dc746 to your computer and use it in GitHub Desktop.
require('dotenv').config();
const express = require('express');
const btoa = require('btoa');
const fetch = require('node-fetch');
app.get('/', function(req, res) {
res.send('Head to `/login` to login');
});
app.listen(3000, function() {
console.log('App running on port 3000');
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment