borp.us


Three main components combine to create this Single Page Application.

The Django/DRF API component, communicating with the Postgres server, retrieves and updates local posts. This is done with Axios/AJAX calls.

Open JSON APIs for sites like The Guardian, HackerNews, and (possibly Twitter in the future) are fetched in real time and displayed for the user alongside local posts. loc

image/svg+xml Django API VueJS Frontend Third-party APIs PostgreSQL

Reverse Proxy


An Nginx reverse proxy handles calls calls from the user.

This provides an opportunity for load balancing, and containerization;
image/svg+xml Nginx Reverse Proxy TInternet The Internet

Docker


A docker-compose file is created to instantiate 4 docker images:

  • Postgres Database.
  • Django frontend with DRF and other dependencies.
  • VueJS frontend to serve our app.
  • Nginx Reverse Proxy
The docker-compose.yml file can then be deployed on the cloud.
image/svg+xml

Cross-platform


Both PC and Mobile are supported through the VueJS/Bootstrap frontend.

Multiple frontends can be created, a mobile app could also be created.
image/svg+xml
Thank you for reading