From 46efa4b4faad603ef1bc82d6356260792b40e368 Mon Sep 17 00:00:00 2001 From: Supan Adit Pratama Date: Sun, 10 Nov 2024 12:02:28 +0700 Subject: [PATCH] chore: update readme and version --- README.md | 12 ++++++++++++ package.json | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e29bebf..8e1cd7a 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,18 @@ $ npm install @aditama-labs/nest-autocrud ## Example +### Environment Variable + +```typescript +// Yes, either Prisma or TypeORM just need this single line of ENV + +// PostgreSQL Example +DATABASE_URL="postgresql://johndoe:randompassword@localhost:5432/mydb?schema=public" + +// MySQL Example +DATABASE_URL="mysql://johndoe:randompassword@localhost:3306/mydb" +``` + ### Prisma ORM ```typescript diff --git a/package.json b/package.json index a2e192e..e5a2538 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@aditama-labs/nest-autocrud", - "version": "0.5.0", + "version": "0.5.1", "description": "NestJS Auto CRUD Library", "author": "Supan Adit Pratama", "license": "MIT",