Skip to content

Commit

Permalink
docs: add video guidelines for generation resource
Browse files Browse the repository at this point in the history
  • Loading branch information
Shchepotin committed Jul 25, 2024
1 parent e0a73cc commit 4f2700f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@
- [Generate resource](#generate-resource)
- [For document oriented database (MongoDB + Mongoose)](#for-document-oriented-database-mongodb--mongoose)
- [For relational database (PostgreSQL + TypeORM)](#for-relational-database-postgresql--typeorm)
- [Video guideline for relational database (PostgreSQL + TypeORM)](#video-guideline-for-relational-database-postgresql--typeorm)
- [For both databases](#for-both-databases)
- [Add property to resource](#add-property-to-resource)
- [Property for document oriented database (MongoDB + Mongoose)](#property-for-document-oriented-database-mongodb--mongoose)
- [Property for relational database (PostgreSQL + TypeORM)](#property-for-relational-database-postgresql--typeorm)
- [Video guideline how to add property for relational database (PostgreSQL + TypeORM)](#video-guideline-how-to-add-property-for-relational-database-postgresql--typeorm)
- [Property for both databases](#property-for-both-databases)

---
Expand Down Expand Up @@ -43,6 +45,10 @@ Example:
npm run generate:resource:relational -- --name=Category
```

#### Video guideline for relational database (PostgreSQL + TypeORM)

<https://github.com/user-attachments/assets/f7f91a7d-f9ff-4653-a78a-152ac5e7a95d>

### For both databases

```bash
Expand All @@ -69,6 +75,10 @@ npm run add:property:to-document
npm run add:property:to-relational
```

#### Video guideline how to add property for relational database (PostgreSQL + TypeORM)

<https://github.com/user-attachments/assets/95b9d70a-70cf-442a-b8bf-a73d32810e0c>

### Property for both databases

```bash
Expand Down

0 comments on commit 4f2700f

Please sign in to comment.