{"id":19873387,"url":"https://github.com/ismaestro/nestjs-example-app","last_synced_at":"2025-10-28T06:03:27.408Z","repository":{"id":178437157,"uuid":"430495689","full_name":"Ismaestro/nestjs-example-app","owner":"Ismaestro","description":"NestJS example app + Prisma + PostgreSQL","archived":false,"fork":false,"pushed_at":"2025-01-31T21:39:08.000Z","size":526,"stargazers_count":28,"open_issues_count":1,"forks_count":11,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-02T20:06:04.248Z","etag":null,"topics":["nestjs","nestjs-backend","nestjs-best-practices","nestjs-boilerplate","nestjs-postgres","nestjs-starter-template","prisma"],"latest_commit_sha":null,"homepage":"https://angular-example-app.netlify.app","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/Ismaestro.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}},"created_at":"2021-11-21T22:28:56.000Z","updated_at":"2025-06-11T06:21:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"51f182c7-bdb9-4a8d-a183-365a6025d01e","html_url":"https://github.com/Ismaestro/nestjs-example-app","commit_stats":null,"previous_names":["ismaestro/nestjs-example-app"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Ismaestro/nestjs-example-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ismaestro%2Fnestjs-example-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ismaestro%2Fnestjs-example-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ismaestro%2Fnestjs-example-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ismaestro%2Fnestjs-example-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ismaestro","download_url":"https://codeload.github.com/Ismaestro/nestjs-example-app/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ismaestro%2Fnestjs-example-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281391780,"owners_count":26492903,"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","status":"online","status_checked_at":"2025-10-28T02:00:06.022Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-backend","nestjs-best-practices","nestjs-boilerplate","nestjs-postgres","nestjs-starter-template","prisma"],"created_at":"2024-11-12T16:18:28.616Z","updated_at":"2025-10-28T06:03:27.393Z","avatar_url":"https://github.com/Ismaestro.png","language":"TypeScript","readme":"\u003cp align=\"center\"\u003e\n  \u003ch3 align=\"center\"\u003eNestJS Example App\u003c/h3\u003e\n\n  \u003cp align=\"center\"\u003e\n    Example app with NestJS + Prisma + Postgres\n    \u003cbr\u003e\n    \u003cbr\u003e\n    :clap::clap::tada::tada::tada::tada::clap::clap:\n    \u003cbr\u003e\n    \u003cbr\u003e\n    Base project made with much :heart:. Contains CRUD, advanced patterns and much more!\n    \u003cbr\u003e\n    \u003cbr\u003e\n    DEMO: \u003ca href=\"https://angular-example-app.netlify.app\"\u003eAngular Example App using this project\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/p\u003e\n\n## What's included\n\n- [x] Example CRUD: create, read, update and delete users!\n- [x] Authentication with JWT tokens\n- [x] More logical directory structure\n- [x] Examples of NestJS controllers, services, repositories, guards, interceptors, etc\n- [x] Env file included with al the environment variables that are mandatory already prepared\n- [x] Usage of Prisma (An ORM) :)\n- [x] A Postgres DB to store the users\n- [x] Bruno collection ready to import\n- [x] App deployed into Fy.io.\n\n## Setup\n\nInstall dependencies first\n\n```bash\nnpm i\n```\n\nCreate a file with this content and call it .env\n\n```bash\nENVIRONMENT=localhost\n\n# POSTGRES\nPOSTGRES_HOST=localhost\nPOSTGRES_PORT=5433\nPOSTGRES_USERNAME=postgres\nPOSTGRES_PASSWORD=postgres\nPOSTGRES_DATABASE=postgres\n\n# Prisma database connection\nDATABASE_URL=postgresql://${POSTGRES_USERNAME}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DATABASE}\n\n# Nest\nPORT=3000\n\n# Security\nJWT_ACCESS_SECRET=a8e9f3b6d4c2h7j8k5n1o3p2q9r6s4t0v5w7x8z1y3m6n2k8j9l4h5g7f1e2c3b9a0\nJWT_ACCESS_EXPIRES_IN=1d\nJWT_REFRESH_SECRET=f4g5h6j7k8l9m0n1p3o5q7r2s6t8v1w9x4z3y2k5j8h7g9f2e4c6b8a0o1m2n7p9q5\nJWT_REFRESH_EXPIRES_IN=7d\n```\n\nAnd from now on, you can just go with the one time command that does everything for you:\n\n```bash\nnpm run setup\n```\n\nOr go step by step. As you wish ;)\n\nCreate the postgres database\n\n```bash\nnpm run docker:db\n```\n\nGenerate the prisma schema\n\n```bash\nnpm run prisma:generate\n```\n\nRun migrations to create necessary tables in the DB\n\n```bash\nnpm run prisma:migrate:dev\n```\n\nSeed the database with the first user\n\n```bash\nnpm run prisma:seed\n```\n\nStart the application\n\n```bash\nnpm start\n```\n\n## Bugs and feature requests\n\nHave a bug or a feature request? Please first read the issue guidelines and search for existing and\nclosed issues. If your problem or idea is not addressed yet,\n[please open a new issue](https://github.com/Ismaestro/nestjs-example-app/issues/new).\n\n## Creators\n\n**Ismael Ramos**\n\n- \u003chttps://github.com/ismaestro\u003e\n\n## Thanks\n\nThanks to all contributors and their support.\n\nIf you have an idea or you want to do something, tell me or just do it! I'm always happy to hear\nyour feedback!\n\n## Copyright and license\n\nCode and documentation copyright 2021 the authors. Code released under the\n[MIT License](https://github.com/Ismaestro/angular-example-app/blob/master/LICENSE).\n\nEnjoy :metal:\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fismaestro%2Fnestjs-example-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fismaestro%2Fnestjs-example-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fismaestro%2Fnestjs-example-app/lists"}