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",