{"id":48442832,"url":"https://github.com/igorjs/nests-boilerplate","last_synced_at":"2026-04-06T16:04:30.039Z","repository":{"id":260589524,"uuid":"864422140","full_name":"igorjs/nests-boilerplate","owner":"igorjs","description":"NestJS + Fastify + Prisma + PostgreSQL + Swagger REST API boilerplate.","archived":false,"fork":false,"pushed_at":"2026-03-17T20:02:12.000Z","size":533,"stargazers_count":1,"open_issues_count":5,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-18T09:42:03.585Z","etag":null,"topics":["nestjs","nestjs-boilerplate"],"latest_commit_sha":null,"homepage":"","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/igorjs.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-09-28T07:10:50.000Z","updated_at":"2026-03-17T20:02:17.000Z","dependencies_parsed_at":"2025-01-01T09:17:34.886Z","dependency_job_id":"79804e6f-d250-42c7-8e3e-f9a45f4c11bc","html_url":"https://github.com/igorjs/nests-boilerplate","commit_stats":null,"previous_names":["igorjs/nests-boilerplate"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/igorjs/nests-boilerplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igorjs%2Fnests-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igorjs%2Fnests-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igorjs%2Fnests-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igorjs%2Fnests-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/igorjs","download_url":"https://codeload.github.com/igorjs/nests-boilerplate/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igorjs%2Fnests-boilerplate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31479009,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-06T14:34:32.243Z","status":"ssl_error","status_checked_at":"2026-04-06T14:34:31.723Z","response_time":112,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["nestjs","nestjs-boilerplate"],"created_at":"2026-04-06T16:04:03.619Z","updated_at":"2026-04-06T16:04:30.027Z","avatar_url":"https://github.com/igorjs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NestJS Boilerplate\n\nNestJS + Fastify + Prisma + PostgreSQL + Swagger REST API boilerplate.\n\n## Table of Contents\n\n- [Requirements](#requirements)\n- [Installation](#installation)\n- [Running Docker](#running-docker)\n- [Seeding the Database](#seeding-the-database)\n- [Running the app](#running-the-app)\n- [Testing](#testing)\n- [Future Improvements](#future-improvements)\n\n## Requirements\n\n1. Docker Desktop (or similar) with support for docker-compose\n2. NodeJS v20\n\n## Commands\n\n### Install Dependencies\n\n```bash\n$ npm install\n```\n\n### Running Docker\n\n```bash\n# docker full solution -\u003e will install the app dependencies and run it in watch mode\n$ docker compose up -d\n\n# database only\n$ docker compose up -d postgres\n```\n\n### Seeding the Database\n\n```bash\n$ npx prisma db seed\n```\n\n### Running the app\n\n```bash\n# development\n$ npm run start\n\n# watch mode\n$ npm run start:dev\n\n# production mode\n$ npm run start:prod\n```\n\n### Running the tests\n\n```bash\n# unit tests\n$ npm run test\n\n# e2e tests\n$ npm run test:e2e\n\n# test coverage\n$ npm run test:cov\n```\n\n## Future Improvements\n\n1. Improve API configurtion and security\n\n   - Take leverage of the framework's builtin modules\n\n   - Add [Helmet](https://docs.nestjs.com/security/helmet) security headers\n   - Add [Cross-site request forgery](https://docs.nestjs.com/security/csrf) security\n   - Add [Rate Limiting](https://docs.nestjs.com/security/rate-limiting)\n   - Add [Cache](https://docs.nestjs.com/techniques/caching)\n   - Add [Configuration](https://docs.nestjs.com/techniques/configuration)\n   - Add [Healthchecks](https://docs.nestjs.com/recipes/terminus) (replace current hard-coded implementation)\n   - Add [Documentation](https://docs.nestjs.com/recipes/documentation) for devs\n\n   - Implement HTTPS\n   - Implement [Authentication](https://docs.nestjs.com/security/authentication) and [Authorization](https://docs.nestjs.com/security/authorization) with [Auth Guards](https://docs.nestjs.com/guards#authorization-guard). Move them to an Auth module\n\n   - Implement better [Exception Filters](https://docs.nestjs.com/exception-filters)\n\n2. Database\n   - Manage dotenv files per environment\n   - Improve security of the database\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figorjs%2Fnests-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Figorjs%2Fnests-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figorjs%2Fnests-boilerplate/lists"}