This repo is a replica version of the famous web app twitter
- Frontend: Javascript : React
- Server : Python : Flask
- Database : AtlasDB : Pymongo
- Deployment : Firebase
- frontend : https://twittrer2.web.app/
- backend: https://twittrer.herokuapp.com/
- to deploy docker to heroku
docker build . -t name
heroku login
heroku container:login
heroku container:push web --app=herokuname
heroku container:release web --app=herokuname
-
Backend
- Go from root directory to Backend directory
cd Backend/
- Install dependencies
pip install -r requirements.txt
- Run the server:
cd Backend/ python app.py
-
frontend
- Go from root directory to client directory
cd twitter/ npm i
- Run the app
npm start
- 10 work days