frgen 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -16
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,27 +1,14 @@
|
|
|
1
|
-
# 🧰 FRGEN — CLI CRUD Generator
|
|
1
|
+
# 🧰 FRGEN and Regen — CLI CRUD Generator
|
|
2
2
|
|
|
3
|
+
#### Backend
|
|
3
4
|
`frgen` is a **Command Line Tool** that automatically generates boilerplate files such as **models**, **controllers**, **services**, **validations**, and **resources** based on your database table structure.
|
|
4
5
|
|
|
5
6
|
---
|
|
6
7
|
|
|
7
8
|
## 📦 Installation
|
|
8
9
|
|
|
9
|
-
If published on npm, you can run it directly using:
|
|
10
|
-
|
|
11
|
-
```bash
|
|
12
|
-
npx frgen <action> [options...]
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
Example:
|
|
16
10
|
```bash
|
|
17
|
-
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
Or install it globally (optional):
|
|
21
|
-
|
|
22
|
-
```bash
|
|
23
|
-
npm install -g frgen
|
|
24
|
-
frgen make:crud --pg
|
|
11
|
+
npm install frgen --save-dev
|
|
25
12
|
```
|
|
26
13
|
|
|
27
14
|
---
|
|
@@ -193,6 +180,8 @@ npx frgen make:service --table=products --path=modules/products --prisma
|
|
|
193
180
|
|
|
194
181
|
# regen CLI Tool
|
|
195
182
|
|
|
183
|
+
#### Frontend
|
|
184
|
+
|
|
196
185
|
`regen` is a Node.js-based code generator designed to create pages, forms, routes, services, validation schemas (Zod), dummy data, and TypeScript definitions based on a JSON Schema file. It supports customizable templates and MUI components.
|
|
197
186
|
|
|
198
187
|
---
|