Chrysolites Tech Academy

Video by freeCodeCamp.org · taught by Imad Saddik · streamed from YouTube. All rights remain with the creator.

Lesson 3: Deploying, Securing and Automating a Web App

About this lesson

Building an app and running it for real users are separate skills, and this long, hands-on lesson teaches the second one from the beginning. Its method is to do everything by hand first and automate only afterwards, so you understand what the automation is doing on your behalf. The course moves through eight stages. It starts with cloud infrastructure: renting a server, connecting to it and preparing it for work. The second stage is security and firewalls, where remote access is hardened, unused ports are closed and repeated login attempts are blocked. Stage three sets up the application runtimes that the front end and the back end need. Stage four adds the data layer, including the database and search. Stage five is global delivery: a web server placed in front of the app, encrypted connections with certificates, and a content delivery network to serve files from locations near each visitor. With the manual setup complete, stage six introduces continuous integration and delivery using GitHub Actions, so every change is built, checked and released by a pipeline. Stage seven makes security continuous by adding automated scanning to that pipeline. The final stage is observability, giving you a view of how the live system is behaving. The running example is a full-stack project with a Vue.js front end and a FastAPI back end. Basic familiarity with a command line helps. When you finish, read Chapter 3 of the course book, which explains the purpose of each layer with a request diagram, a port table and a pipeline figure.

Install Chrysolites Tech Academy

Android / Chrome / Edge: open the browser menu and choose Install app or Add to Home screen.

iPhone / iPad (Safari): tap the Share button, then Add to Home Screen.