Skip to content

Commit 7ce7fa0

Browse files
committed
first commit
0 parents  commit 7ce7fa0

24 files changed

+6835
-0
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules
2+
dist

.npmignore

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# compiled output
2+
/dist
3+
/node_modules
4+
5+
# Logs
6+
logs
7+
*.log
8+
npm-debug.log*
9+
yarn-debug.log*
10+
yarn-error.log*
11+
lerna-debug.log*
12+
13+
# OS
14+
.DS_Store
15+
16+
# Tests
17+
/coverage
18+
/.nyc_output
19+
20+
# IDEs and editors
21+
/.idea
22+
.project
23+
.classpath
24+
.c9/
25+
*.launch
26+
.settings/
27+
*.sublime-workspace
28+
29+
# IDE - VSCode
30+
.vscode/*
31+
!.vscode/settings.json
32+
!.vscode/tasks.json
33+
!.vscode/launch.json
34+
!.vscode/extensions.json

.prettierrc

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

README.md

+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
<h1 align="center"></h1>
2+
3+
<div align="center">
4+
<a href="http://nestjs.com/" target="_blank">
5+
<img src="https://nestjs.com/img/logo_text.svg" width="150" alt="Nest Logo" />
6+
</a>
7+
</div>
8+
9+
<h3 align="center">NestPgpromise -- generated by @nestjsplus/dyn-schematics</h3>
10+
11+
<div align="center">
12+
<a href="https://nestjs.com" target="_blank">
13+
<img src="https://img.shields.io/badge/built%20with-NestJs-red.svg" alt="Built with NestJS">
14+
</a>
15+
<a href="https://github.com/nestjsplus/dyn-schematics" target="_blank">
16+
<img src="https://img.shields.io/badge/Built%20with-%40nestjsplus%2Fdyn--schematics-brightgreen" alt="Built with @nestjsplus/dyn-schematics">
17+
</a>
18+
</div>
19+
20+
This dynamic module was generated with [Nest Dynamic Package Generator Schematics](https://github.com/nestjsplus/dyn-schematics). You can read more about using the generator [here](https://github.com/nestjsplus/dyn-schematics).
21+
22+
### Installation
23+
24+
To install this generated project:
25+
26+
```bash
27+
npm install
28+
```
29+
30+
(or yarn equivalent)
31+
32+
### Running
33+
34+
If you selected `yes` for the question `Generate a testing client?`, a small testing module was automatically generated
35+
called NestPgpromiseClientModule. You can test that the template was properly generated by running
36+
37+
```bash
38+
npm run start:dev
39+
```
40+
41+
Then connect to [http://localhost:3000](http://localhost:3000).
42+
43+
### Customizing
44+
45+
The files in the project have comments that should help guide you.
46+
47+
You can also refer to [this article](https://dev.to/nestjs/advanced-nestjs-how-to-build-completely-dynamic-nestjs-modules-1370) for details on the concepts behind this module pattern.
48+
49+
You can read more about using the generator [here](https://github.com/nestjsplus/dyn-schematics).
50+
51+
### About @nestjsplus/dyn-schematics
52+
53+
[Nest Dynamic Package Generator Schematics](https://github.com/nestjsplus/dyn-schematics) generates a starter template for building NestJS dynamic packages. It uses the `@nestjs/cli` core package, and provides customized schematics for generating modular NestJS applications. See [here](https://github.com/nestjsplus/dyn-schematics) for the full set of available schematics, and documentation.

nest-cli.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"language": "ts",
3+
"collection": "@nestjs/schematics",
4+
"sourceRoot": "src"
5+
}

0 commit comments

Comments
 (0)