Skip to content

awkweb/mute.vc

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
api
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Dev

yarn global add vercel
vercel env pull

Prod

Set Environment Variables:

FIREBASE_API_KEY=xxx
FIREBASE_AUTH_DOMAIN=mutevc.firebaseapp.com
FIREBASE_PROJECT_ID=mutevc
SECRET=xxx
TWITTER_KEY=xxx
TWITTER_LIST_OWNER=awkweb
TWITTER_LIST_SLUG=investors
TWITTER_SECRET=xxx
URL=https://mute.vc
How to fill in secret values

Twitter

Create a new Twitter app and add the following callback urls:

http://localhost:3000/api/auth/callback
https://mute-vc.now.sh/api/auth/callback
https://mute-vc.vercel.app/api/auth/callback
https://mute.vc/api/auth/callback

Add your consumer API key to TWITTER_KEY and API secret key to TWITTER_SECRET. Turn on Read and write permissions.

Finally, create a new Twitter list and fill out TWITTER_LIST_OWNER and TWITTER_LIST_SLUG (twitter.com/:username/lists/:slug).

Firebase

Create an app, fire up Firestore, and fill in FIREBASE_API_KEY.