Docker – for packaging applications in containers.Node JS – for writing the backend logic.To follow along with this tutorial, make sure you have the following: How to connect a Prisma Express app to the Redis database.How to connect a Prisma Express app to the PostgreSQL database.How to spawn docker containers with docker-compose.In this process, Prisma parses our schema and creates a client along with all the TypeScript typings. This differs from traditional ORMs that provide an object-oriented way of working with the database.Įvery time we make changes to the schema file, we need to generate the Prisma client. It uses its own data modeling language and acts as a single source of truth. With Prisma, we describe our data using a Prisma schema file. In this article, we look into Prisma, which is a capable alternative. So far, in this series, we’ve been using TypeORM to manage our data and connect to our Postgres database. Implementing soft deletes with SQL and Kysely Managing JSON data with PostgreSQL and Kysely Improving the database performance with indexes and Kysely Many-to-many relationships with Kysely and PostgreSQL Many-to-one relationships with PostgreSQL and Kysely One-to-one relationships with the Kysely query builder Type-safe SQL queries with Kysely and PostgreSQL Modifying data using PUT and PATCH methods with Prisma Managing JSON data with PostgreSQL and Prisma Improving performance through indexes with Prisma Implementing soft deletes with Prisma and middleware Managing sensitive data using the AWS Secrets Manager The HTTPS protocol with Route 53 and AWS Certificate Manager Scaling the number of application instances with Amazon ECS Health checks with Terminus and Amazon ECS Introduction to managing logs with Amazon CloudWatch Running unit tests with CI/CD and GitHub Actions Deploying multiple instances on AWS with a load balancer Deploying a NestJS app with Amazon ECS and RDS Increasing the developer experience with Docker Compose Dockerizing a NestJS API with Docker Compose Testing a project with raw SQL using integration tests Writing unit tests in a project with raw SQL Logging with the built-in logger when using raw SQL Implementing filtering using subqueries with raw SQL ![]() Introduction to indexes with raw SQL queries Updating entities with PUT and PATCH using raw SQL queries Implementing searching with pattern matching and raw SQL Generating statistics using aggregate functions in raw SQL Offset and keyset pagination with raw SQL queries Working with transactions using raw SQL queries Many-to-many relationships using raw SQL queries Designing many-to-one relationships using raw SQL queries One-to-one relationships with raw SQL queries Working with PostgreSQL using raw SQL queries Interacting with the application through REPL Improving PostgreSQL performance with indexes using MikroORM Implementing soft deletes using MikroORM and filters Transactions with PostgreSQL and MikroORM Relationships with PostgreSQL and MikroORM Introduction to a monorepo with Lerna and Yarn workspaces Using ETag to implement cache and save bandwidth Storing files inside a PostgreSQL database Implementing soft deletes with PostgreSQL and TypeORM Generating documentation with Compodoc and JSDoc Introduction to logging with the built-in logger and TypeORM Updating with PUT and PATCH with MongoDB and Mongoose Definining indexes with MongoDB and Mongoose Implementing pagination with MongoDB and Mongoose Managing transactions with MongoDB and Mongoose ![]() Virtual properties with MongoDB and Mongoose Verifying phone numbers and sending SMS messages with Twilio Setting up recurring payments via subscriptions with Stripe Using Stripe to save credit cards for future use Using server-side sessions instead of JSON Web Tokens Managing PostgreSQL relationships with Prisma Real-time updates with GraphQL subscriptions Sending scheduled emails with cron and Nodemailer Implementing in-memory cache to increase the performance Communicating with microservices using the gRPC framework Using RabbitMQ to communicate with microservices Offset and keyset pagination with PostgreSQL and TypeORM Using the array data type with PostgreSQL and TypeORM Defining transactions with PostgreSQL and TypeORM Improving performance of our Postgres database with indexes Testing services and controllers with integration tests Creating relationships with Postgres and TypeORM Looking into dependency injection and modules Serializing the response with interceptors Authenticating users with bcrypt, Passport, JWT, and cookies Setting up a PostgreSQL database with TypeORM Controllers, routing and the module structure Avoiding storing sensitive information in API logs This entry is part 32 of 130 in the API with NestJS
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |