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
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
Reverse Proxy
An Nginx reverse proxy handles calls calls from the user.
This provides an opportunity for load balancing, and containerization;
This provides an opportunity for load balancing, and containerization;
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
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.
Thank you for reading