{"id":31542196,"url":"https://github.com/iamviplavkr/policy-management-api","last_synced_at":"2025-10-11T19:43:21.892Z","repository":{"id":305854060,"uuid":"1024135085","full_name":"iamviplavkr/Policy-Management-API","owner":"iamviplavkr","description":"ASP.NET Web API project for Insurance Policy Management, built during internship at Shriram Insight. Uses SQL Server stored procedures, soft delete, and audit trails.","archived":false,"fork":false,"pushed_at":"2025-07-22T14:13:44.000Z","size":19,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-04T11:42:31.897Z","etag":null,"topics":["api","csharp","dotnet","sqlserver","swagger"],"latest_commit_sha":null,"homepage":"","language":"C#","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/iamviplavkr.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":"2025-07-22T08:32:49.000Z","updated_at":"2025-07-23T06:01:06.000Z","dependencies_parsed_at":"2025-07-22T11:21:26.086Z","dependency_job_id":"96e2fdd4-100f-45cc-a776-3170d9d0a2e5","html_url":"https://github.com/iamviplavkr/Policy-Management-API","commit_stats":null,"previous_names":["iamviplavkr/shriraminsight-policyapi","iamviplavkr/policy-management-api"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/iamviplavkr/Policy-Management-API","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamviplavkr%2FPolicy-Management-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamviplavkr%2FPolicy-Management-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamviplavkr%2FPolicy-Management-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamviplavkr%2FPolicy-Management-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iamviplavkr","download_url":"https://codeload.github.com/iamviplavkr/Policy-Management-API/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamviplavkr%2FPolicy-Management-API/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279008441,"owners_count":26084460,"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-11T02:00:06.511Z","response_time":55,"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":["api","csharp","dotnet","sqlserver","swagger"],"created_at":"2025-10-04T11:32:15.967Z","updated_at":"2025-10-11T19:43:21.879Z","avatar_url":"https://github.com/iamviplavkr.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ShriramInsight Policy API  \n\nA **.NET 8 Web API** developed during my internship at **Shriram Insight Share Brokers**.  \nThis project provides a secure and scalable **Policy Management API** using **C#, SQL Server, and ADO.NET** with stored procedures.  \n\n---\n\n## 🚀 Features  \n\n✅ RESTful API using ASP.NET Core  \n✅ CRUD Operations via **Stored Procedures** (No Entity Framework)  \n✅ **Soft Delete** Implementation using `IsActive` flag  \n✅ **Audit Trail** with `CreatedBy`, `CreatedWhen`, `UpdatedBy`, `UpdatedWhen` fields  \n✅ SQL Server database with optimized indexes  \n✅ Secure connection strings via `appsettings.json`  \n✅ Modular architecture with separate controllers for each table  \n\n\n---\n\n## 🛠️ Tech Stack\n- **Backend**: ASP.NET Core 8 Web API  \n- **Database**: Microsoft SQL Server  \n- **ORM**: ADO.NET (Stored Procedure Based)  \n- **CI/CD**: GitHub Actions  \n- **Version Control**: Git \u0026 GitHub  \n\n---\n\n## 📌 Key API Endpoints\n\n| Method | Endpoint | Description |\n|--------|----------|-------------|\n| GET    | `/api/TblGiPolicyBook` | Fetch all active policies |\n| POST   | `/api/TblGiPolicyBook` | Insert a new policy |\n| PUT    | `/api/TblGiPolicyBook/{orderNo}` | Update existing policy details |\n| DELETE | `/api/TblGiPolicyBook/{orderNo}` | Soft delete a policy |\n\n\n---\n\n## ▶️ How to Run Locally\n\n1️⃣ Clone the repository  \n```bash\ngit clone https://github.com/\u003cyour-username\u003e/PolicyManagementAPI.git\ncd PolicyManagementAPI/src/ShriramInsightAPI\n```\n\n2️⃣ Update `appsettings.json` with your SQL Server connection string\n\n3️⃣ Run the API\n```bash\ndotnet restore\ndotnet run\n```\n\n---\n\n\n## ⭐ If you like this project, consider giving it a star!\n\n\n**1. Other Supporting Files**\n\n- **.gitignore** → Use default for .NET projects (generated by GitHub)  \n- **LICENSE** → Use MIT License  \n- **CONTRIBUTING.md** → Simple guidelines for contribution  \n- **docs/** → Put all screenshots \u0026 internship report  \n\n---\n\n**2. Push Everything to GitHub**\n\nOnce your repo is ready locally:  \n\n```bash\n# Initialize git\ngit init\n\n# Add remote\ngit remote add origin https://github.com/\u003cyour-username\u003e/PolicyManagementAPI.git\n\n# Stage \u0026 commit\ngit add .\ngit commit -m \"Initial commit - Policy Management API\"\n\n# Push to GitHub\ngit branch -M main\ngit push -u origin main\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamviplavkr%2Fpolicy-management-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiamviplavkr%2Fpolicy-management-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamviplavkr%2Fpolicy-management-api/lists"}