Subscribe: https://goo.gl/1Ty1Q2 . I start building out my microservice mesh with a simple composite UI service. I use NGINX to power a small JavaScript\HTML page using SSI (Server-sise injection). This gives me a decoupled simple frame where all other composite UI services will spawn in from. This UI frame will be kept highly available through a cloud content delivery network (CDN) so we'll avoid hitting our tiny web server and support massive traffic :)
I realised i had to learn a lot of ReactJS and Node.
I NEVER install dependencies on my machine. So I opt to use a nodejs docker image with an Alpine Linux base and mount my local filesystem into the container. So all npm, npx commands work whilst keeping my machine clean.
I run npm install and build inside the container to produce the javascript and html bundle. The bundle then gets added to a 16MB NGINX web server so my microservice is SUPER TINY! :D
Checkout docker's multistage build for more on this!
I am still learning how to use ReactJS so I can have content from other UI microservices loaded into the page to start building out functionality.
Like and subscribe to follow my adventure :D
Also, everything i do in this video is here:
https://github.com/marcel-dempers/mar...
PLUTO IX | Stash Pot | is licensed under a Creative Commons Attribution licence (https://creativecommons.org/licenses/...)
/ stash-pot
motherboaard | ESSKEETIT | is licensed under a Creative Commons Attribution licence (https://creativecommons.org/licenses/...)
/ esskeetit
Neverknew | SMOKIN' MOONROCKS | is licensed under a Creative Commons Attribution licence (https://creativecommons.org/licenses/...)
/ smokin-moonrocks
http://creativecommons.org/licenses/b...
Take/Five | The Prophet
https://open.spotify.com/track/7lBfeS...
Смотрите видео Coding my UI | my first microservice | part 1 онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь That DevOps Guy 24 Февраль 2019, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 1,353 раз и оно понравилось 42 людям.