Skip to content

A twitter-like API featuring a news feed developed based on the Pull model (fan-out on read). Built ๐Ÿ’ช and deployed ๐Ÿš€ using Docker and includes Redis caching for improved performance.

License

Notifications You must be signed in to change notification settings

BOVAGE/Twit-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

26 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Twit-test

A twitter-like API.

Documentation

The documentation for this API can be accessed here

Technologies

  • Python, Django, DRF
  • Postgres
  • Redis
  • Docker

Development

To run locally, type

docker-compose up --build

Ensure you include the env var in the .env.sample file.

Keys prefixed with CLOUDINARY can be omitted.

Testing

To run tests, open a new console in the root directory and type

docker-compose exec web python manage.py test

Deployment

The API was deployed on Heroku using Docker by building the Docker image using heroku.yml file

Link: https://twit-fleet.herokuapp.com

NB: I didn't configure Docker to serve static files hence the reason for the ugly look of the pages in web browser. ๐Ÿ˜ See issue #1

About

A twitter-like API featuring a news feed developed based on the Pull model (fan-out on read). Built ๐Ÿ’ช and deployed ๐Ÿš€ using Docker and includes Redis caching for improved performance.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published