Skip to content

jonathandion/twitter-app

Repository files navigation

Twitter App

Build Status

Heroku Demo

Instructions

Install dependencies:

npm install

Create a file called .env inside the server folder and add your Twitter credentials

  CONSUMER_KEY=
  CONSUMER_SECRET=
  ACCESS_TOKEN_KEY=
  ACCESS_TOKEN_SECRET=

npm run start

Development

1.npm run server(port: 3000)

Runs the server in development mode using nodemon.

2. npm run dev (port: 3001)

Runs React with WebpackDevServer.

Production

npm run start

Starts the app.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

More info here