mirror of
https://github.com/aditama-labs/nest-autocrud.git
synced 2024-11-24 12:56:22 +00:00
chore: update readme and version
This commit is contained in:
parent
ab5e0647d7
commit
46efa4b4fa
12
README.md
12
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
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user