{"id":23230660,"url":"https://github.com/pranit-harekar/todo-app","last_synced_at":"2026-05-03T23:35:38.370Z","repository":{"id":264566749,"uuid":"893700285","full_name":"Pranit-Harekar/todo-app","owner":"Pranit-Harekar","description":"Todo List API built using ASP.NET Core","archived":false,"fork":false,"pushed_at":"2024-12-18T00:36:40.000Z","size":19,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-23T07:02:43.616Z","etag":null,"topics":["asp-net-core","csharp","docker","entity-framework-core","sql-server"],"latest_commit_sha":null,"homepage":"","language":"C#","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/Pranit-Harekar.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":"2024-11-25T03:45:23.000Z","updated_at":"2025-03-01T03:47:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"f3bbd1a2-a101-46f8-8499-4481ffa8022d","html_url":"https://github.com/Pranit-Harekar/todo-app","commit_stats":null,"previous_names":["pranit-harekar/todo-app"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Pranit-Harekar/todo-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pranit-Harekar%2Ftodo-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pranit-Harekar%2Ftodo-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pranit-Harekar%2Ftodo-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pranit-Harekar%2Ftodo-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Pranit-Harekar","download_url":"https://codeload.github.com/Pranit-Harekar/todo-app/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pranit-Harekar%2Ftodo-app/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266633053,"owners_count":23959467,"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-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["asp-net-core","csharp","docker","entity-framework-core","sql-server"],"created_at":"2024-12-19T02:11:01.967Z","updated_at":"2026-05-03T23:35:38.333Z","avatar_url":"https://github.com/Pranit-Harekar.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Todo App - ASP.NET Core Backend Development\n\nThis repository is a practical demonstration of building robust and scalable backend applications using ASP.NET Core.\n\n**Covered Concepts:**\n\n- Implementing routes, redirects, custom middlewares, and endpoint filters\n- Utilizing C# LINQ for data manipulation\n- Leveraging dependency injection for loose coupling\n- Connecting to relational databases\n- Creating and applying version control code-first migrations\n- Running migrations independently of container deployments\n- Dockerizing the application\n- Testing and documenting endpoints\n\n**Technologies Used:**\n\n- [ASP.NET Core 9.0](https://dotnet.microsoft.com/en-us/apps/aspnet)\n- [Entity Framework Core 9](https://learn.microsoft.com/en-us/ef/core/)\n- [MS SQL Server](https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-overview?view=sql-server-ver16)\n\n## Getting Started\n\nThis project is fully Dockerized for a quick and easy setup.\n\n**Prerequisites:**\n\n- .NET 9 SDK installed\n- [Visual Studio Code with C# Dev Kit](https://code.visualstudio.com/docs/languages/dotnet)\n  or [Visual Studio](https://visualstudio.microsoft.com/)\n- [Docker Desktop](https://www.docker.com/products/docker-desktop/)\n\n**Instructions:**\n\n1. **Generate a [self-signed certificate](https://learn.microsoft.com/en-us/dotnet/core/additional-tools/self-signed-certificates-guide):**\n\n   ```sh\n   dotnet dev-certs https -ep ./https/TodoApi.pfx -p \u003cCERT_PASSWORD\u003e\n   ```\n\n   Replace `\u003cCERT_PASSWORD\u003e` with a desired password.\n\n2. **Set environment variables:**\n\n   Rename `.env.example` to `.env` and configure the following:\n\n   - `CERT_PASSWORD`: Use the password created in step 1.\n   - `DB_PASSWORD`: Set your database password.\n\n3. Start the application:\n\n   Ensure Docker Desktop is running, then execute:\n\n   ```sh\n   make up\n   ```\n\n   View test requests in the [TodoApi.http](./TodoApi/TodoApi.http).\n   Alternatively, access the simple web page at the below URLs.\n\n   - HTTPS: https://localhost:7200\n   - HTTP: http://localhost:5126\n\n## Migrations\n\n**Creating Migrations:**\n\n1. Navigate to the [./TodoApi](/TodoApi) directory in your terminal.\n\n2. Install the EF Core CLI if not yet available:\n\n   ```sh\n   dotnet tool install --global dotnet-ef\n   ```\n\n3. Update your data models as needed.\n\n4. Replace `DB_CONNECTION_STRING` in `.env` file with the following:\n\n   ```txt\n   DB_CONNECTION_STRING=\"Server=localhost,1433;Database=TodoDb;User Id=SA;Password=${DB_PASSWORD};TrustServerCertificate=True;\"\n   ```\n\n5. Generate a new migration:\n\n   ```sh\n   dotnet ef migrations add \u003cyour-migration-name\u003e\n   ```\n\n**Applying Migrations:**\n\nDatabase migrations are automatically applied when the API container builds. To manually apply new migrations:\n\n```sh\nmake db_migrate\n```\n\n## Next Steps\n\n- Implement authentication\n- Allow sharing of todos\n- Document architecture\n- Integrate Kubernetes\n- Deploy to Azure\n\nFeel free to create an issue if you have any questions or suggestions.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpranit-harekar%2Ftodo-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpranit-harekar%2Ftodo-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpranit-harekar%2Ftodo-app/lists"}