Skip to content

Commit 853f35b

Browse files
committed
docs(readme): update ORM from TypeORM to Drizzle ORM
1 parent 9213467 commit 853f35b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Serverless GraphQL API with Apollo, AWS Lambda, and Postgres
22

3-
This project is a practical demonstration of a serverless GraphQL API built with Apollo Server, deployed on AWS Lambda, and using Postgres as a database. TypeORM is used for data manipulation and interaction with Postgres. While the application serves as a book listing API, the primary focus is to illustrate the effective use of this technology stack.
3+
This project is a practical demonstration of a serverless GraphQL API built with Apollo Server, deployed on AWS Lambda, and using Postgres as a database. Drizzle ORM is used for data manipulation and interaction with Postgres. While the application serves as a book listing API, the primary focus is to illustrate the effective use of this technology stack.
44

55
## Prerequisites
66

@@ -50,7 +50,7 @@ npx serverless offline
5050

5151
This will start the server at `http://localhost:3000`. The available endpoints will be displayed in the terminal.
5252

53-
When the application starts, the `initializeDataSource` function in `data-source.ts` is called. This function is responsible for setting up the connection to the Postgres database and initializing the entities. It uses TypeORM's `initialize` method to establish the connection and synchronize the database schema based on the defined entities.
53+
When the application starts, the `initializeDataSource` function in `data-source.ts` is called. This function is responsible for setting up the connection to the Postgres database and initializing the entities. It uses Drizzle ORM's `initialize` method to establish the connection and synchronize the database schema based on the defined entities.
5454

5555
## Invoking Function Locally
5656

@@ -85,7 +85,7 @@ This will deploy the API to AWS Lambda.
8585
## Features
8686

8787
🚀 Deploy an Apollo Server GraphQL API to AWS Lambda\
88-
🐘 Use Postgres as a database with TypeORM for efficient data manipulation\
88+
🐘 Use Postgres as a database with Drizzle ORM for efficient data manipulation\
8989
🔒 Secure database connection using environment variables\
9090
🔍 Sample query command provided for easy testing\
9191
👥 Handle user data and their interactions with books\

0 commit comments

Comments
 (0)