vercerl-express-test 1.0.0 → 1.0.2
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 +6 -6
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
##
|
|
2
|
-
|
|
3
|
-
-
|
|
4
|
-
-
|
|
5
|
-
-
|
|
6
|
-
-
|
|
1
|
+
## Naming Convention
|
|
2
|
+
Example: Creating an auth module;
|
|
3
|
+
- Create a controllers/auth.controller.ts file, write controller logic here, including jsDoc comments for interfaces
|
|
4
|
+
- Create a services/auth.service.ts file, write business logic here
|
|
5
|
+
- Create a models/auth.model.ts file, write database operations here
|
|
6
|
+
- Create a routes/auth.route.ts file, write routing here
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vercerl-express-test",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "nodemon --watch src --ext ts --exec \"ts-node src/app.ts\"",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"登录": "npm login ",
|
|
20
20
|
"一键发布": "npm version patch && npm publish"
|
|
21
21
|
},
|
|
22
|
-
|
|
22
|
+
"keywords": [
|
|
23
23
|
"express",
|
|
24
24
|
"web",
|
|
25
25
|
"application"
|