Skip to content

jpdriver/tweets-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tweets-server

Twitter-like demo with limited functionality https://tweets-server.now.sh/

Running Locally

  • Start by copying the .env.template file, making a .env in the project root.

  • You will need your own CONSUMER_KEY and CONSUMER_SECRET to put in your new .env file

  • Run the server using either

    • npm run dev (local development)
    • npm start (production)
  • This changes the callback URLs to the tweets client application

Deploying to Now

  • Add your CONSUMER_KEY and CONSUMER_SECRET as Secrets

    • now secret add consumer_key XXXXXXXXXXXX
    • now secret add consumer_secret XXXXXXXXXXXX
  • And then expose these to your deployment as Environment Variables using the -e flag

    • now -e CONSUMER_KEY=@consumer_key -e CONSUMER_SECRET=@consumer_secret

About

Twitter-like demo with limited functionality https://tweets-server.now.sh/

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published