This is a simple Twitter Finder, using NodeJs to Backend with Typescript and SOLID architecture and ReactJs to Frontend
-
Create .env file on Api folder and add
TWITTER_API_URL=https://api.twitter.com/1.1/ TWITTER_API_TOKEN=<twitter-bearer-token>
-
Backend With Docker
cd Api docker build -t backend-twitter-finder . docker run -d -p 3333:3333 backend-twitter-finder
-
Backend To Dev
cd Api yarn yarn dev:server or cd Api npm install npm run dev:server
-
Frontend
cd Web yarn yarn start or cd Web npm install npm run start
Deploy Api on Heroku
cd Api heroku container:login heroku container:push web --arg ENV=live,HTTPS=on --app=<app-name> heroku container:release web --app=<app-name>