All code repositories are within this github organization

Current Architecture - Detailed
doc.marcuschiu.com backup

There are 2 modes in this Current Architecture:

  • view mode - public for everyone
  • edit mode - restricted to me only

Editing and Creating Web Pages
anyone could view the edit console, but only I can submit the changes

  • edit - double press f-key
  • create - double press c-key

View Mode Architecture

Browser
any computer accessing doc.marcuschiu.com

AWS Network
this network contains a single EC2 instance. This instance is a public computer running a Nginx server that handles 2 jobs: a web server and a proxy server

  • web server
    • serves “blank” web pages which are to filled from data received from the API server
    • web pages are built using Angular 5
    • here’s the github repository
  • proxy server
    • mediates all API requests between Browser and API server

Home Network
this network contains a API server and a Database

  • API Server
    • exposed to the internet, but only responds to the proxy server
    • is a Spring Boot application
    • here’s the github repository
  • Database
    • is a MongoDB database

Edit Mode Architecture

My Browser
via VPN, my browser is able to contact my Home Network directly and thus edit any webpage.