{"id":13406351,"url":"https://github.com/proyecto26/MyAPI","last_synced_at":"2025-03-14T10:33:01.929Z","repository":{"id":40762978,"uuid":"275427393","full_name":"proyecto26/MyAPI","owner":"proyecto26","description":"A template to create awesome APIs easily ⚡️","archived":false,"fork":false,"pushed_at":"2024-10-27T16:04:20.000Z","size":283,"stargazers_count":160,"open_issues_count":15,"forks_count":31,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-29T22:37:27.549Z","etag":null,"topics":["api","api-server","apis","express-api","express-js","jwt-auth","jwt-authentication","jwt-token","nest","nestjs","nestjs-backend","nestjs-logger","nestjs-postgres","nestjs-starter-template","nestjs-typeorm","nodejs-api","typeorm","typescript","web-api"],"latest_commit_sha":null,"homepage":"https://myapi-template.herokuapp.com/api","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/proyecto26.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"jdnichollsc","patreon":"proyecto26","open_collective":"proyecto26","ko_fi":"proyecto26","liberapay":"proyecto26","donorbox":"proyecto-26","custom":["paypal.me/jdnichollsc","buymeacoffee.com/jdnichollsc","donorbox.org/proyecto-26"]}},"created_at":"2020-06-27T18:05:43.000Z","updated_at":"2024-10-27T16:04:23.000Z","dependencies_parsed_at":"2024-11-09T16:21:37.454Z","dependency_job_id":"d74bdf33-65f8-4486-8b52-e60927085a49","html_url":"https://github.com/proyecto26/MyAPI","commit_stats":{"total_commits":53,"total_committers":1,"mean_commits":53.0,"dds":0.0,"last_synced_commit":"f92cad9badd3795b02e0a3c062478d5a294680dd"},"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/proyecto26%2FMyAPI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/proyecto26%2FMyAPI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/proyecto26%2FMyAPI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/proyecto26%2FMyAPI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/proyecto26","download_url":"https://codeload.github.com/proyecto26/MyAPI/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243057999,"owners_count":20229308,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","api-server","apis","express-api","express-js","jwt-auth","jwt-authentication","jwt-token","nest","nestjs","nestjs-backend","nestjs-logger","nestjs-postgres","nestjs-starter-template","nestjs-typeorm","nodejs-api","typeorm","typescript","web-api"],"created_at":"2024-07-30T19:02:27.909Z","updated_at":"2025-03-14T10:33:01.915Z","avatar_url":"https://github.com/proyecto26.png","language":"TypeScript","readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"http://nestjs.com/\" target=\"blank\"\u003e\u003cimg src=\"https://nestjs.com/img/logo_text.svg\" width=\"320\" alt=\"Nest Logo\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n|   | MyApi SQL Template |\n| - | ------------ |\n| ⚡️ | **Launch your api instantly** watching changes with live-reload |\n| 📈 | **Highly scalable** using [Repository design pattern](https://docs.nestjs.com/techniques/database#repository-pattern) to access the database even easier |\n| 😎 | **OpenAPI** with [Swagger](https://docs.nestjs.com/openapi/introduction) to describe your RESTful APIs |\n| ✨ | **KISS principle** make everything as simple as possible, but not simpler |\n| 📱 | **Mobile friendly** supporting Cross-origin resource sharing (CORS) with a list of domains for restricted resources |\n| 🔑 | **Security** using JWT authentication strategy with [Passport](https://docs.nestjs.com/techniques/authentication) and other techniques to increase the security of your applications |\n| 👥 | **Made for Users.** Easily validate permissions for specific routes using [Guards](https://docs.nestjs.com/guards) with a Role-based access control\n| ⏱ | Don't repeat yourself, Single responsibility principle. |\n| 🔗 | **Validation:** provides pipes available right out-of-the-box with [class-validator](https://github.com/typestack/class-validator) to enforce validation rules for all incoming client payloads |\n| ⚠️ | **Logger** with [Winston](https://github.com/winstonjs/winston) using different levels to track exceptions easily |\n| 🔄 | **Migrations** using [TypeORM](https://github.com/typeorm/typeorm) to apply incremental updates to the database |\n\n## Demo 🎮\n\nDo you want to see this template in action? Visit https://myapi-template.herokuapp.com/api yay! 🎉\n- API for MercadoPago Checkout: https://github.com/proyecto26/mercadopago-api\n\n## Options (Database Type) 💻\n\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\n      \u003ca href=\"https://github.com/proyecto26/MyAPI/tree/master\"\u003e\n        \u003cimg src=\"img/sql.svg\" alt=\"SQL Database\" width=\"300\"\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd\u003e\n      \u003ca href=\"https://github.com/proyecto26/MyAPI/tree/nosql\"\u003e\n        \u003cimg src=\"img/mongodb.svg\" alt=\"NoSQL Database\" width=\"300\"\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n## Installation 📚\n\n```bash\n# install dependencies\n$ yarn\n```\n\n## Running the app ▶\n\n```bash\n# development\n$ yarn start\n\n# watch mode\n$ yarn start:dev\n\n# production mode\n$ yarn start:prod\n```\n\n## Running migrations ▶\n\n```bash\n# run migration\n$ yarn migration\n\n# create migration\n$ yarn migration:create\n\n# revert migration\n$ yarn migration:revert\n```\n\n## Test 🕵️\n\n```bash\n# unit tests\n$ yarn test\n\n# e2e tests\n$ yarn test:e2e\n\n# test coverage\n$ yarn test:cov\n```\n\n## TypeORM 📖\n* [Relations](https://github.com/typeorm/typeorm/blob/master/docs/relations.md)\n* [Find Options](https://github.com/typeorm/typeorm/blob/master/docs/select-query-builder.md)\n* [Query Builder](https://github.com/typeorm/typeorm/blob/master/docs/select-query-builder.md)\n\n## Resources 📚\n\n- [Implementing Microservices](https://frontegg.com/blog/implementing-microservices-in-nodejs)\n- [A microservice that handles the queue of sending emails](https://pietrzakadrian.com/blog/how-to-create-a-microservice-that-handles-the-queue-of-sending-emails-in-nestjs)\n- [Testing with NestJS like a Pro](https://dev.to/jdnichollsc/testing-with-nestjs-like-a-pro-3i2b)\n\n## Credits 👍\n* **typescript-starter:** [Nest framework TypeScript starter repository](https://github.com/nestjs/typescript-starter).\n\n## Supporting 🍻\nI believe in Unicorns 🦄\nSupport [me](http://www.paypal.me/jdnichollsc/2), if you do too.\n\nDonate **Ethereum**, **ADA**, **BNB**, **SHIBA**, **USDT/USDC**, **DOGE**, etc:\n\n\u003e Wallet address: jdnichollsc.eth\n\nPlease let us know your contributions! 🙏\n\n## Happy coding 💯\nMade with ❤️\n\n\u003cimg width=\"150px\" src=\"https://avatars0.githubusercontent.com/u/28855608?s=200\u0026v=4\" align=\"right\"\u003e\n","funding_links":["https://github.com/sponsors/jdnichollsc","https://patreon.com/proyecto26","https://opencollective.com/proyecto26","https://ko-fi.com/proyecto26","https://liberapay.com/proyecto26","proyecto-26","paypal.me/jdnichollsc","buymeacoffee.com/jdnichollsc","donorbox.org/proyecto-26","http://www.paypal.me/jdnichollsc/2"],"categories":["TypeScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fproyecto26%2FMyAPI","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fproyecto26%2FMyAPI","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fproyecto26%2FMyAPI/lists"}