chore: update readme and version

This commit is contained in:
Supan Adit Pratama 2024-11-10 12:02:28 +07:00
parent ab5e0647d7
commit 46efa4b4fa
2 changed files with 13 additions and 1 deletions

View File

@ -35,6 +35,18 @@ $ npm install @aditama-labs/nest-autocrud
## Example ## 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 ### Prisma ORM
```typescript ```typescript

View File

@ -1,6 +1,6 @@
{ {
"name": "@aditama-labs/nest-autocrud", "name": "@aditama-labs/nest-autocrud",
"version": "0.5.0", "version": "0.5.1",
"description": "NestJS Auto CRUD Library", "description": "NestJS Auto CRUD Library",
"author": "Supan Adit Pratama", "author": "Supan Adit Pratama",
"license": "MIT", "license": "MIT",