README.md
March 22, 2026 ยท View on GitHub
| MyApi SQL Template | |
|---|---|
| โก๏ธ | Launch your api instantly watching changes with live-reload |
| ๐ | Highly scalable using Repository design pattern to access the database even easier |
| ๐ | OpenAPI with Swagger to describe your RESTful APIs |
| โจ | KISS principle make everything as simple as possible, but not simpler |
| ๐ฑ | Mobile friendly supporting Cross-origin resource sharing (CORS) with a list of domains for restricted resources |
| ๐ | Security using JWT authentication strategy with Passport and other techniques to increase the security of your applications |
| ๐ฅ | Made for Users. Easily validate permissions for specific routes using Guards with a Role-based access control |
| โฑ | Don't repeat yourself, Single responsibility principle. |
| ๐ | Validation: provides pipes available right out-of-the-box with class-validator to enforce validation rules for all incoming client payloads |
| โ ๏ธ | Logger with Winston using different levels to track exceptions easily |
| ๐ | Migrations using TypeORM to apply incremental updates to the database |
Demo ๐ฎ
Do you want to see this template in action? Visit https://myapi-template.herokuapp.com/api yay! ๐
- API for MercadoPago Checkout: https://github.com/proyecto26/mercadopago-api
Options (Database Type) ๐ป
|
|
|
Installation ๐
# install dependencies
$ yarn
Running the app โถ
# development
$ yarn start
# watch mode
$ yarn start:dev
# production mode
$ yarn start:prod
Running migrations โถ
# run migration
$ yarn migration
# create migration
$ yarn migration:create
# revert migration
$ yarn migration:revert
Test ๐ต๏ธ
# unit tests
$ yarn test
# e2e tests
$ yarn test:e2e
# test coverage
$ yarn test:cov
TypeORM ๐
Resources ๐
- Implementing Microservices
- A microservice that handles the queue of sending emails
- Testing with NestJS like a Pro
Credits ๐
- typescript-starter: Nest framework TypeScript starter repository.
Star History ๐
Sponsors ๐
This project is free and open source. Sponsors help keep it maintained and growing.
Become a Sponsor | Sponsorship Program
Contribution ๐ค
When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated โค๏ธ.
You can learn more about how you can contribute to this project in the contribution guide.
Happy coding ๐ฏ
Made with โค๏ธ by Proyecto 26 - Changing the world with small contributions.
One hand can accomplish great things, but many can take you into space and beyond! ๐
Together we do more, together we are more โค๏ธ