{"id":20565681,"url":"https://github.com/puskar-roy/nestjs_api","last_synced_at":"2026-04-17T08:05:14.317Z","repository":{"id":212986422,"uuid":"732692585","full_name":"Puskar-Roy/NestJs_API","owner":"Puskar-Roy","description":"This REST API features CRUD routes for users, along with registration, login functionalities, and route protection. 🚀","archived":false,"fork":false,"pushed_at":"2023-12-18T14:07:07.000Z","size":331,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-06T08:57:13.897Z","etag":null,"topics":["authentication","nestjs","postgresql","restapi","typeorm","typescript"],"latest_commit_sha":null,"homepage":"","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/Puskar-Roy.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":"2023-12-17T14:32:32.000Z","updated_at":"2023-12-18T14:08:12.000Z","dependencies_parsed_at":"2025-01-16T19:50:52.474Z","dependency_job_id":"262f89a7-e604-4564-bb76-82fa35602fbd","html_url":"https://github.com/Puskar-Roy/NestJs_API","commit_stats":null,"previous_names":["puskar-roy/nestjs_api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Puskar-Roy/NestJs_API","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Puskar-Roy%2FNestJs_API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Puskar-Roy%2FNestJs_API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Puskar-Roy%2FNestJs_API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Puskar-Roy%2FNestJs_API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Puskar-Roy","download_url":"https://codeload.github.com/Puskar-Roy/NestJs_API/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Puskar-Roy%2FNestJs_API/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31920520,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"online","status_checked_at":"2026-04-17T02:00:06.879Z","response_time":62,"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":["authentication","nestjs","postgresql","restapi","typeorm","typescript"],"created_at":"2024-11-16T04:38:38.949Z","updated_at":"2026-04-17T08:05:14.293Z","avatar_url":"https://github.com/Puskar-Roy.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca name=\"readme-top\"\u003e\u003c/a\u003e\n\n\u003cbr /\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://github.com/Puskar-Roy/NestJs_API.git\"\u003e\n    \u003cimg src=\"https://miro.medium.com/v2/resize:fit:1400/1*-hmwuf8jE2c7fPdMzX9_0w.jpeg\" alt=\"Logo\" width=\"200\" height=\"100\"\u003e\n  \u003c/a\u003e\n\n  \u003ch3 align=\"center\"\u003eNEST Js + Type ORM + Postgre SQL +Json Web Tokens\u003c/h3\u003e\n\n  \u003cp align=\"center\"\u003e\n    This REST API features CRUD routes for users, along with registration, login functionalities, and route protection. 🚀🔐\n    \u003cbr /\u003e\n    \u003cbr /\u003e\n    \u003cbr /\u003e\n    \u003ca href=\"https://github.com/Puskar-Roy/NestJs_API/issues\"\u003eReport Bug\u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/Puskar-Roy/NestJs_API/issues\"\u003eRequest Feature\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/div\u003e\n\n\n## Getting Started 🚀\n\n### Prerequisites\nBefore you begin contributing to this project, make sure you have the following set up:\n\n- [Node.js](https://nodejs.org/): A JavaScript runtime.\n- [npm](https://www.npmjs.com/): The Node.js package manager.\n\n### Run This ⌨️\n\n1. **Clone the Repository:**\n   ```bash\n   git clone https://github.com/Puskar-Roy/NestJs_API.git\n   ```\n2. **Install Dependencies:**\n   ```bash\n    npm install\n   ```\n3. **Run This Project:**\n   ```bash\n   npm run dev\n   ```\n   or\n   \n   ```bash\n   npm start\n   ```\n\n   \u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n## API End Points  🌟   \n1. **Home Route** 🚀\n```bash\nGET - http://localhost:3000/\n```\n2. **Register User Route** 📥\n```bash\nPOST - http://localhost:3000/api/auth/register\n```\nRequest Body For Register Route - \n```bash\n{\n    \"name\":\"etc1\",\n    \"email\": \"etc1@gmail.com\",\n    \"phoneNumber\":\"+917449585365\",\n    \"password\":\"etc@1234\",\n    \"password\":\"etc@1234\",\n}\n```\n3. **Login User Route** ⚡\n```bash\nPOST - http://localhost:3000/api/auth/login\n```\nRequest Body For Login Route - \n```bash\n{\n    \"email\": \"etc1@gmail.com\",\n    \"password\":\"etc@1234\",\n}\n```\n4. **Get All User Route** ⌨️\n```bash\nGET - http://localhost:3000/api/user/allUsers\n```\n5. **Get a Single User Route** 👦\n```bash\nGET - http://localhost:3000/api/user/:userId\n```\n6. **Update User Route** ⚡\n```bash\nPATCH - http://localhost:3000/api/user/:userId\n```\nRequest Body For Update User Route - \n```bash\n{\n    \"name\":\"etc2\",\n    \"email\": \"etc2@gmail.com\",\n    \"phoneNumber\":\"+917449585365\",\n}\n```\n7. **Delete User Route** 🚀\n```bash\nDELETE - http://localhost:3000/api/user/:userId\n```\n\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\n\n### Future Works 🟩\n1. **Add .env Package**🌟\n2. **Add cors , rate limiter , helmet , xss , hpp etc Packages**🌟\n3. **Deployment**🌟\n\n\n### Puskar Roy 🖋️\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpuskar-roy%2Fnestjs_api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpuskar-roy%2Fnestjs_api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpuskar-roy%2Fnestjs_api/lists"}