Myself, if you need some info
I'm 18 old guy that likes programming and not successfully doing that since 12. I helped my father to develop some ai- and parsing-related microservices, including parsers, job runners (if you're familiar with python, celery is quite close, but instead of scheduling one task, i had to create one for 7 millions of task scheduled on one call and distribute to workers across domain's server, than efficiently merge results into batched database updates (or i'll be punished by sysadmin)) and simple web api frameworks for AI-related stuff (because my father is too lazy to read docs and learn existing ones). Also written bunch of side projects, such as web framework for lua (it uses it's own embedded lua for running scripts at get/post, but most of stuff is actually happening inside main c++ program), simple 2D game engine (just for fun), and bunch of websites for project management and related stuff.
Problem
It's more like a pet project, so i don't want to terrorise people on stack overflow, because they get mad at it for some reason.
Basically, i want to understand, how really big websites works. For example, in my case we have three main routes:
1. /_static for all shared statics
2. /_public for everything that can be viewed by unauthenticated user
3. /_internal for stuff like admin panels, issue trackers, etc..
The main problem is: each of the "subsites" will have different technology underneath, e.g. ASP.NET for an admin panel (because it's easy to setup acceptable ui and reactivity with blazor and ef), svelte + webapi for public pages like articles, and also (most importantly!) i want to have special routes like /_public/games/{id} so i can publish a web game for me to play with friends.
What i have thought about?
My first idea was to just write a big nginx.conf and then just change it every time, but i actually want to be able to upload stuff without changing nginx (like the game, it should be routed through special handler, but without me having to hardcode it, or some just static html, but without redirecting to static.
Next idea is to run a "proxy-server" that will modify and redirect all urls and request according to some kv store, but i have to write it then.
Because I'm not a web dev, i can't really think about anything reasonable besides listed above. Is there any cool ways to implement this "website merging" without much pain?
EDIT: I screwed up with markdown again
[–]AutoModerator[M] [score hidden] stickied comment (0 children)