Create server/.env
and fill in the twitter API keys & port (See server/env.example
the format)
TWITTER_API_KEY=abc123
TWITTER_API_KEY_SECRET=abc123
run ./docker.sh 3001
to use docker to build the client with Node 14.4 and serve the project on localhost:3001
cd client; # Build the React Page (And copy the dist to server/public)
npm install;
npm run build;
cd ../server;
npm install; # Install and run the server
npm run start
/client
contains a React Page
/server
contains an Nodejs Express server