Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
T
ts-api-demo
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wmvm
ts-api-demo
Commits
4070eaf4
Commit
4070eaf4
authored
Jul 11, 2024
by
wmvm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update readme
parent
1c52b7f4
Pipeline
#424
canceled with stages
Changes
7
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
3 additions
and
2 deletions
+3
-2
.gitignore
.gitignore
+1
-1
config.development.ts
config/config.development.ts
+0
-0
config.production.ts
config/config.production.ts
+0
-0
index.ts
config/index.ts
+0
-0
log4js.json
config/log4js.json
+0
-0
index.ts
index.ts
+1
-1
user.service.ts
src/mvc/service/user.service.ts
+1
-0
No files found.
.gitignore
View file @
4070eaf4
node_modules
src/
config/config.prod.js
config/config.prod.js
.idea
...
...
src/
config/config.development.ts
→
config/config.development.ts
View file @
4070eaf4
File moved
src/
config/config.production.ts
→
config/config.production.ts
View file @
4070eaf4
File moved
src/
config/index.ts
→
config/index.ts
View file @
4070eaf4
File moved
src/
config/log4js.json
→
config/log4js.json
View file @
4070eaf4
File moved
index.ts
View file @
4070eaf4
...
...
@@ -2,7 +2,7 @@ import express, { Request, Response, NextFunction } from 'express';
import
errorHandler
from
'errorhandler'
;
import
morgan
from
'morgan'
;
import
{
logger
,
expressSetting
}
from
'@broker/nodejs_common'
;
import
appConfig
from
"./
src/
config"
;
import
appConfig
from
"./config"
;
import
{
apiRouterV1
}
from
"./src/router/v1"
;
const
app
=
express
();
...
...
src/mvc/service/user.service.ts
View file @
4070eaf4
// ts 库
// ts 的 dao 代码在 @broker/nodejs_dao 的 ts 分支上
import
{
user
}
from
"@broker/nodejs_dao_next"
;
// 可以直接引用原有 js 封装的工具, 但是目前 js 的库没有类型提示
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment