{"id":17681318,"url":"https://github.com/madeindjs/nestjs-poc","last_synced_at":"2025-03-12T14:31:09.539Z","repository":{"id":96109186,"uuid":"399155283","full_name":"madeindjs/nestjs-poc","owner":"madeindjs","description":null,"archived":true,"fork":false,"pushed_at":"2021-08-24T12:18:37.000Z","size":196,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-05T21:41:47.104Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/madeindjs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2021-08-23T15:28:55.000Z","updated_at":"2023-06-29T19:51:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"b18aad7b-6d5a-49d5-83d8-519ecf2befa0","html_url":"https://github.com/madeindjs/nestjs-poc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madeindjs%2Fnestjs-poc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madeindjs%2Fnestjs-poc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madeindjs%2Fnestjs-poc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madeindjs%2Fnestjs-poc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/madeindjs","download_url":"https://codeload.github.com/madeindjs/nestjs-poc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243234474,"owners_count":20258472,"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":[],"created_at":"2024-10-24T09:10:48.511Z","updated_at":"2025-03-12T14:31:09.531Z","avatar_url":"https://github.com/madeindjs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nest.js POC\n\n[![CI Nest.js app through Github Actions](https://github.com/madeindjs/nestjs-poc/actions/workflows/main.yml/badge.svg)](https://github.com/madeindjs/nestjs-poc/actions/workflows/main.yml)\n\nMy personnal tests for [Nest](https://github.com/nestjs/nest).\n\n## Installation\n\n```bash\n$ npm install\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## Usage\n\n```sh\n# Create user\ncurl -X POST -d email=test@test.fr -d password=123456  localhost:3000/users\n\n# Get token\ncurl -X POST -d email=test@test.fr -d password=123456  localhost:3000/auth\n\n# Use token\nexport TKN=\"eyJhbGciOiJ...X4\"\ncurl -H \"Authorization: Bearer $TKN\"  localhost:3000/users/1\ncurl -X PATCH -H \"Authorization: Bearer $TKN\" -d password=654321  localhost:3000/users/1\n\n# reset password\ncurl -X POST -d email=test@test.fr localhost:3000/password-reset\ncurl -X PATCH -d password=azerty localhost:3000/password-reset/1b0859ff-5fb6-4cbc-8c22-4902da3a0b20 # token extracted from server log\ncurl -X POST -d email=test@test.fr -d password=azerty  localhost:3000/auth\n\n# add credit to use API\ncurl -X POST  -H \"Authorization: Bearer $TKN\"  localhost:3000/credits\n\n# create website\ncurl -H \"Authorization: Bearer $TKN\" -d url=www.2244.fr localhost:3000/websites\n```\n\n## Test\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## Support\n\nNest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please [read more here](https://docs.nestjs.com/support).\n\n## Stay in touch\n\n- Author - [Kamil Myśliwiec](https://kamilmysliwiec.com)\n- Website - [https://nestjs.com](https://nestjs.com/)\n- Twitter - [@nestframework](https://twitter.com/nestframework)\n\n## License\n\nNest is [MIT licensed](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadeindjs%2Fnestjs-poc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmadeindjs%2Fnestjs-poc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadeindjs%2Fnestjs-poc/lists"}