{"id":28335449,"url":"https://github.com/tanmayvaij/shaasium-auth","last_synced_at":"2026-05-04T13:35:31.638Z","repository":{"id":294656826,"uuid":"987168584","full_name":"tanmayvaij/shaasium-auth","owner":"tanmayvaij","description":"A scalable and secure authentication microservice built with NestJS, Prisma ORM, and [TypeScript], designed for multi-tenant or modular BaaS platforms. Part of the Shaasium backend suite.","archived":false,"fork":false,"pushed_at":"2025-05-30T06:40:56.000Z","size":8550,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-19T16:44:10.062Z","etag":null,"topics":["authentication","docker-image","javascript","microservice","modularization","module","nest","nestjs","nestjs-backend","node","node-js","nodejs"],"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/tanmayvaij.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,"zenodo":null}},"created_at":"2025-05-20T17:15:12.000Z","updated_at":"2025-05-30T06:40:59.000Z","dependencies_parsed_at":"2025-05-21T13:31:00.011Z","dependency_job_id":null,"html_url":"https://github.com/tanmayvaij/shaasium-auth","commit_stats":null,"previous_names":["tanmayvaij/shaasium-auth"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tanmayvaij/shaasium-auth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tanmayvaij%2Fshaasium-auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tanmayvaij%2Fshaasium-auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tanmayvaij%2Fshaasium-auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tanmayvaij%2Fshaasium-auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tanmayvaij","download_url":"https://codeload.github.com/tanmayvaij/shaasium-auth/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tanmayvaij%2Fshaasium-auth/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32609964,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"ssl_error","status_checked_at":"2026-05-04T10:08:02.005Z","response_time":58,"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":["authentication","docker-image","javascript","microservice","modularization","module","nest","nestjs","nestjs-backend","node","node-js","nodejs"],"created_at":"2025-05-26T21:58:53.802Z","updated_at":"2026-05-04T13:35:31.633Z","avatar_url":"https://github.com/tanmayvaij.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Shaasium Auth Service\n\nA scalable and secure authentication microservice built with [NestJS](https://nestjs.com/), [Prisma ORM](https://www.prisma.io/), and [TypeScript], designed for multi-tenant or modular BaaS platforms. Part of the **Shaasium** backend suite.\n\n## 🚀 Features\n\n- 🧑‍💻 User registration \u0026 login\n- 🔐 Password hashing with `bcrypt`\n- 🔑 JWT-based authentication\n- 🌐 RESTful API design\n- 🗃️ Supports PostgreSQL\n- 📦 Prisma ORM for type-safe database access\n- ✅ Input validation with `class-validator`\n- 📁 Modular code structure using NestJS best practices\n\n---\n\n## 📦 Tech Stack\n\n- **Framework**: [NestJS](https://nestjs.com/)\n- **Language**: TypeScript\n- **ORM**: [Prisma](https://www.prisma.io/)\n- **Database**: PostgreSQL\n- **Security**: JWT, bcrypt\n- **Validation**: class-validator, class-transformer\n\n---\n\n## 🛠️ Getting Started\n\n### 1. Clone the Repository\n\n```bash\ngit clone https://github.com/tanmayvaij/shaasium-auth.git\ncd shaasium-auth\n````\n\n### 2. Install Dependencies\n\n```bash\nnpm install\n```\n\n### 3. Configure Environment Variables\n\nCreate a `.env` file based on the `.env.example` file.\n\n```env\nDATABASE_URL=your_database_url\nJWT_SECRET=your_jwt_secret\nPORT=3000\n```\n\n### 4. Set Up the Database\n\nRun Prisma migrations (SQL only):\n\n```bash\nnpx prisma migrate deploy\n```\n\n### 5. build the Server\n\n```bash\nnpm run build\n```\n\n---\n\n### 6. Run the Server\n\n```bash\nnpm run start\n```\n\n---\n\n## 📑 API Endpoints\n\n| Method | Endpoint        | Description                      |\n| ------ | --------------- | -------------------------------- |\n| POST   | `/auth/signup`  | Register a new user              |\n| POST   | `/auth/signin`  | Login with credentials           |\n| GET    | `/auth/verify`  | Check auth token                 |\n\n\n---\n\n## 📘 API Documentation (Swagger)\n\nInteractive API docs available at: /api\n\nAutomatically generated via `@nestjs/swagger`. Use it to explore endpoints, test requests, and view schemas.\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftanmayvaij%2Fshaasium-auth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftanmayvaij%2Fshaasium-auth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftanmayvaij%2Fshaasium-auth/lists"}