Skip to content

Commit b1ac8c8

Browse files
committed
Initial Commit
0 parents  commit b1ac8c8

39 files changed

+14807
-0
lines changed

.gitignore

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# dependencies
2+
/node_modules
3+
4+
# IDE
5+
/.idea
6+
/.awcache
7+
/.vscode
8+
9+
# misc
10+
npm-debug.log
11+
12+
# example
13+
/quick-start
14+
15+
# tests
16+
/test
17+
/coverage
18+
/.nyc_output
19+
20+
# dist
21+
/dist
22+

.prettierrc

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"singleQuote": true,
3+
"trailingComma": "all"
4+
}

README.md

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# nestjs-session-tutorial-finished
2+
3+
## Description
4+
5+
finished-source-code-for-nest-js-sessions-tutorial
6+
7+
## Installation
8+
9+
```bash
10+
$ npm install
11+
```
12+
13+
## Running the app
14+
15+
```bash
16+
# development
17+
$ npm run start
18+
19+
# watch mode
20+
$ npm run start:dev
21+
22+
# production mode
23+
npm run start:prod
24+
```
25+
26+
## Test
27+
28+
```bash
29+
# unit tests
30+
$ npm run test
31+
32+
# e2e tests
33+
$ npm run test:e2e
34+
35+
# test coverage
36+
$ npm run test:cov
37+
```
38+

nodemon.json

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"watch": [
3+
"src"
4+
],
5+
"ext": "ts",
6+
"ignore": [
7+
"src/**/*.spec.ts"
8+
],
9+
"exec": "ts-node --inspect=5858 -r tsconfig-paths/register src/main.ts"
10+
}

0 commit comments

Comments
 (0)