mirror of
https://github.com/aditama-labs/nest-autocrud.git
synced 2024-11-25 05:26: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
|
## 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
|
||||||
|
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user