Skip to content

Commit 3aeb0fc

Browse files
committed
feat: inital code for server support
1 parent 6678e63 commit 3aeb0fc

File tree

15 files changed

+1506
-111
lines changed

15 files changed

+1506
-111
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,22 @@
11
# template-nodejs
2+
3+
```shell
4+
# do this to start server
5+
export export APP_CONFIG=./src/.app.json
6+
npm install
7+
npm run serve
8+
9+
# To hit end point
10+
curl -X GET 'http://127.0.0.1:5000/hello?name=rambo' -H 'authorization: Basic 123' -H 'Content-Type: application/json' -v
11+
12+
```
13+
```shell
14+
# use this for continuous reload while development
15+
npm run serve:dev
16+
```
17+
18+
19+
220
A template project for nodejs. Has integrated linting, testing,
321
coverage, reporting, GitHub actions for publishing to npm repository, dependency updates and other goodies.
422

0 commit comments

Comments
 (0)