-
Book Overview & Buying
-
Table Of Contents
Full-Stack Web Development with TypeScript 5
By :
In the previous chapter, we delved into the world of persistent storage, focusing on the implementation and management of databases within Docker containers. We learned how to set up PostgreSQL in Docker, construct a robust database schema for a chat application, and perform essential CRUD operations directly with SQL. This knowledge is pivotal in ensuring data persistence and integrity, critical for maintaining user information and messages across server restarts in dynamic applications.
This chapter shifts our focus toward streamlining database interactions and migrations in web development. We introduce object-relational mapping (ORM) as a powerful tool to abstract and simplify database operations, specifically through Prisma, a next-generation ORM. By integrating Prisma into our development workflow, we aim to enhance productivity, reduce errors, and promote code clarity when interacting with our PostgreSQL database.
Understanding...