Skip to content

stivenramireza/twitter-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twitter API

Building Twitter API using FastAPI framework.

Run API in development mode

$ python3 -m venv twitter-api
$ source twitter-api/bin/activate
$ pip install -r requirements.txt
$ export ENV=development
$ uvicorn src.main:app --reload

Run API in production mode

$ docker build -t stivenramireza/twitter-api:latest .
$ docker-compose up -d