create-efc-app 0.7.0 → 0.8.0
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 +14 -1
- package/dist/index.js +1280 -322
- package/dist/index.js.map +1 -1
- package/package.json +10 -1
package/README.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
**Interactive scaffolder for Express File Cluster projects.**
|
|
4
4
|
|
|
5
|
+
[Website](https://efc.prashantadhikari7.com.np/) · [Quick start](https://efc.prashantadhikari7.com.np/docs.html#quickstart) · [Generated portals](https://efc.prashantadhikari7.com.np/docs.html#portals)
|
|
6
|
+
|
|
5
7
|
## Quick Start
|
|
6
8
|
|
|
7
9
|
```bash
|
|
@@ -10,6 +12,17 @@ cd my-api
|
|
|
10
12
|
efc start dev
|
|
11
13
|
```
|
|
12
14
|
|
|
13
|
-
The interactive scaffolder asks for language, database,
|
|
15
|
+
The interactive scaffolder asks for language, database, task queue and clustering, then writes the **base** app: the server, `src/api`, `src/tasks` and the database. It generates a `.env` with a real `JWT_SECRET` and runs `npm install`.
|
|
16
|
+
|
|
17
|
+
Features (auth incl. Sign in with Google / Apple, user and admin portals, billing, an email client…) can be picked during creation or added later, shadcn-style. Their routes and models are copied into your app as source you own:
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
efc list # what can be added
|
|
21
|
+
efc add auth admin-users # copies the files, adds packages and env vars
|
|
22
|
+
efc add auth@google # asks for your Google OAuth credentials
|
|
23
|
+
efc add email-client # asks for your SMTP settings
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
See [efc add](https://github.com/pr4shxnt/efc.js/blob/main/docs/cli/add.md).
|
|
14
27
|
|
|
15
28
|
For full framework documentation on routing, middleware, clustering, and tasks, please see the [Express File Cluster](https://www.npmjs.com/package/express-file-cluster) package or the [GitHub Repository](https://github.com/pr4shxnt/efc.js).
|