https://github.com/thothom/example-nestjs
Example project for @thothom/nestjs
https://github.com/thothom/example-nestjs
thothom
Last synced: 11 months ago
JSON representation
Example project for @thothom/nestjs
- Host: GitHub
- URL: https://github.com/thothom/example-nestjs
- Owner: thothom
- License: mit
- Created: 2021-11-14T17:21:10.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-05-30T13:40:14.000Z (about 4 years ago)
- Last Synced: 2025-06-07T02:41:33.559Z (about 1 year ago)
- Topics: thothom
- Language: TypeScript
- Homepage:
- Size: 78.1 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# ThothOM NestJs Example
[](https://github.com/techmmunity/eslint-config)
Example project of `@thothom/nestjs`.
See the docs at: [https://thothom.com/docs/integrations/nestjs](https://thothom.com/docs/integrations/nestjs)
## How to test
- Run `yarn` to install the dependencies
- Create a `.env` file based on `.env.sample`
- Add the env vars to `.env` file
- Run `yarn start` to start the app
- Done! You can start to play now :)
| Route | Method | Description |
| ------------------------------- | -------- | -------------- |
| `http://localhost:3000` | `POST` | Create |
| `http://localhost:3000` | `PUT` | Update |
| `http://localhost:3000` | `GET` | List |
| `http://localhost:3000` | `DELETE` | Delete |
| `http://localhost:3000/complex` | `PUT` | Complex Update |
| `http://localhost:3000/complex` | `GET` | Complex List |
| `http://localhost:3000/complex` | `DELETE` | Complex Delete |