Full Stack Web Development in the Cloud

This repository contains the source code for the Full Stack Web Development in the Cloud course.

Architecture

The diagram below outlines the high-level architecture and the hosting providers for the web application, API and database.

Ephemeral developer environments

The entire course is developed using Gitpod. For each task, we use an ephemeral developer environment that we dispose of as soon as the task is completed. Environments are fully automated and we never run npm install or npm run dev manually. We also don't have any code, dependencies, etc installed locally.

Technology stack

The course leverages the following technologies.

Web application

Svelte is a compiler to develop highly performant web applications with great developer experience. The application is styled with plain CSS.

API

SvelteKit is the library & application framework powered by Svelte. It provides routing, server-side rendering and also enables us to develop a web application that works if Javascript is disabled.

Prisma is the object-relational mapping (ORM) library that let's us interact with the database. Based on models we define, Prisma generates the database schema and keeps the databsae in sync with our model(s). In addition, it generates a Typescript client we import into our code so that we have type safety when we work with database objects.

Database

Postgres is our database of choice for the course. However, thanks to Prisma's support for various other databases, it is a matter of changing configuration values to leverage a different database.

Deployment

The web application and API are hosted on Vercel whereas the database lives on Railway.

Pull requests

Each section of the course has a corresponding pull request. If you get stuck, make sure you check out the source code to copy & paste what you need.

Top categories

svelte logo

Want a Svelte site built?

Hire a Svelte developer
Loading Svelte Themes