Skip to content

Commit 68fb7b3

Browse files
committed
build: clean nestjs
1 parent c9f7ff8 commit 68fb7b3

78 files changed

Lines changed: 3352 additions & 12072 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.env.example

Lines changed: 0 additions & 10 deletions
This file was deleted.

.eslintrc.js

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
module.exports = {
2+
parser: '@typescript-eslint/parser',
3+
parserOptions: {
4+
project: 'tsconfig.json',
5+
tsconfigRootDir: __dirname,
6+
sourceType: 'module',
7+
},
8+
plugins: ['@typescript-eslint/eslint-plugin'],
9+
extends: [
10+
'plugin:@typescript-eslint/recommended',
11+
'plugin:prettier/recommended',
12+
],
13+
root: true,
14+
env: {
15+
node: true,
16+
jest: true,
17+
},
18+
ignorePatterns: ['.eslintrc.js'],
19+
rules: {
20+
'@typescript-eslint/interface-name-prefix': 'off',
21+
'@typescript-eslint/explicit-function-return-type': 'off',
22+
'@typescript-eslint/explicit-module-boundary-types': 'off',
23+
'@typescript-eslint/no-explicit-any': 'off',
24+
},
25+
};

.github/workflows/deploy-lambda-qa.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
run: npm ci
2828

2929
- name: Build and package Lambda
30-
run: npx ts-node scripts/build-lambda.ts
30+
run: npx ts-node infra/scripts/build-lambda.ts
3131

3232
- name: Set Lambda function name and NODE_ENV based on branch
3333
id: set-lambda-env

.husky/commit-msg

Lines changed: 0 additions & 1 deletion
This file was deleted.

.husky/pre-commit

Lines changed: 0 additions & 13 deletions
This file was deleted.

.lintstagedrc

Lines changed: 0 additions & 3 deletions
This file was deleted.

.prettierignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

.prettierrc

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

.vscode/launch.json

Lines changed: 0 additions & 17 deletions
This file was deleted.

README.md

Lines changed: 8 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<p align="center">
2-
<a href="http://nestjs.com/" target="blank"><img src="https://nestjs.com/img/logo-small.svg" width="120" alt="Nest Logo" /></a>
2+
<a href="http://nestjs.com/" target="blank"><img src="https://nestjs.com/img/logo-small.svg" width="200" alt="Nest Logo" /></a>
33
</p>
44

55
[circleci-image]: https://img.shields.io/circleci/build/github/nestjs/nest/master?token=abc123def456
@@ -15,9 +15,9 @@
1515
<a href="https://discord.gg/G7Qnnhy" target="_blank"><img src="https://img.shields.io/badge/discord-online-brightgreen.svg" alt="Discord"/></a>
1616
<a href="https://opencollective.com/nest#backer" target="_blank"><img src="https://opencollective.com/nest/backers/badge.svg" alt="Backers on Open Collective" /></a>
1717
<a href="https://opencollective.com/nest#sponsor" target="_blank"><img src="https://opencollective.com/nest/sponsors/badge.svg" alt="Sponsors on Open Collective" /></a>
18-
<a href="https://paypal.me/kamilmysliwiec" target="_blank"><img src="https://img.shields.io/badge/Donate-PayPal-ff3f59.svg" alt="Donate us"/></a>
18+
<a href="https://paypal.me/kamilmysliwiec" target="_blank"><img src="https://img.shields.io/badge/Donate-PayPal-ff3f59.svg"/></a>
1919
<a href="https://opencollective.com/nest#sponsor" target="_blank"><img src="https://img.shields.io/badge/Support%20us-Open%20Collective-41B883.svg" alt="Support us"></a>
20-
<a href="https://twitter.com/nestframework" target="_blank"><img src="https://img.shields.io/twitter/follow/nestframework.svg?style=social&label=Follow" alt="Follow us on Twitter"></a>
20+
<a href="https://twitter.com/nestframework" target="_blank"><img src="https://img.shields.io/twitter/follow/nestframework.svg?style=social&label=Follow"></a>
2121
</p>
2222
<!--[![Backers on Open Collective](https://opencollective.com/nest/backers/badge.svg)](https://opencollective.com/nest#backer)
2323
[![Sponsors on Open Collective](https://opencollective.com/nest/sponsors/badge.svg)](https://opencollective.com/nest#sponsor)-->
@@ -26,13 +26,13 @@
2626

2727
[Nest](https://github.com/nestjs/nest) framework TypeScript starter repository.
2828

29-
## Project setup
29+
## Installation
3030

3131
```bash
3232
$ npm install
3333
```
3434

35-
## Compile and run the project
35+
## Running the app
3636

3737
```bash
3838
# development
@@ -45,7 +45,7 @@ $ npm run start:dev
4545
$ npm run start:prod
4646
```
4747

48-
## Run tests
48+
## Test
4949

5050
```bash
5151
# unit tests
@@ -58,42 +58,16 @@ $ npm run test:e2e
5858
$ npm run test:cov
5959
```
6060

61-
## Deployment
62-
63-
When you're ready to deploy your NestJS application to production, there are some key steps you can take to ensure it runs as efficiently as possible. Check out the [deployment documentation](https://docs.nestjs.com/deployment) for more information.
64-
65-
If you are looking for a cloud-based platform to deploy your NestJS application, check out [Mau](https://mau.nestjs.com), our official platform for deploying NestJS applications on AWS. Mau makes deployment straightforward and fast, requiring just a few simple steps:
66-
67-
```bash
68-
$ npm install -g mau
69-
$ mau deploy
70-
```
71-
72-
With Mau, you can deploy your application in just a few clicks, allowing you to focus on building features rather than managing infrastructure.
73-
74-
## Resources
75-
76-
Check out a few resources that may come in handy when working with NestJS:
77-
78-
- Visit the [NestJS Documentation](https://docs.nestjs.com) to learn more about the framework.
79-
- For questions and support, please visit our [Discord channel](https://discord.gg/G7Qnnhy).
80-
- To dive deeper and get more hands-on experience, check out our official video [courses](https://courses.nestjs.com/).
81-
- Deploy your application to AWS with the help of [NestJS Mau](https://mau.nestjs.com) in just a few clicks.
82-
- Visualize your application graph and interact with the NestJS application in real-time using [NestJS Devtools](https://devtools.nestjs.com).
83-
- Need help with your project (part-time to full-time)? Check out our official [enterprise support](https://enterprise.nestjs.com).
84-
- To stay in the loop and get updates, follow us on [X](https://x.com/nestframework) and [LinkedIn](https://linkedin.com/company/nestjs).
85-
- Looking for a job, or have a job to offer? Check out our official [Jobs board](https://jobs.nestjs.com).
86-
8761
## Support
8862

8963
Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please [read more here](https://docs.nestjs.com/support).
9064

9165
## Stay in touch
9266

93-
- Author - [Kamil Myśliwiec](https://twitter.com/kammysliwiec)
67+
- Author - [Kamil Myśliwiec](https://kamilmysliwiec.com)
9468
- Website - [https://nestjs.com](https://nestjs.com/)
9569
- Twitter - [@nestframework](https://twitter.com/nestframework)
9670

9771
## License
9872

99-
Nest is [MIT licensed](https://github.com/nestjs/nest/blob/master/LICENSE).
73+
Nest is [MIT licensed](LICENSE).

0 commit comments

Comments
 (0)