{"id":49225529,"url":"https://github.com/calesi19/task-tamer","last_synced_at":"2026-04-24T07:03:02.668Z","repository":{"id":229238685,"uuid":"775742612","full_name":"Calesi19/Task-Tamer","owner":"Calesi19","description":"A to do list api built with .NET and C#.","archived":false,"fork":false,"pushed_at":"2024-07-18T04:13:42.000Z","size":118,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-10T11:41:52.466Z","etag":null,"topics":["csharp","docker","dotnet","postgresql"],"latest_commit_sha":null,"homepage":"https://mdservices.azurewebsites.net/","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/Calesi19.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}},"created_at":"2024-03-22T00:40:38.000Z","updated_at":"2024-07-18T04:25:36.000Z","dependencies_parsed_at":"2024-03-25T15:07:38.420Z","dependency_job_id":null,"html_url":"https://github.com/Calesi19/Task-Tamer","commit_stats":null,"previous_names":["calesi19/task-tamer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Calesi19/Task-Tamer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Calesi19%2FTask-Tamer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Calesi19%2FTask-Tamer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Calesi19%2FTask-Tamer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Calesi19%2FTask-Tamer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Calesi19","download_url":"https://codeload.github.com/Calesi19/Task-Tamer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Calesi19%2FTask-Tamer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32212811,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T03:15:14.334Z","status":"ssl_error","status_checked_at":"2026-04-24T03:15:11.608Z","response_time":64,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["csharp","docker","dotnet","postgresql"],"created_at":"2026-04-24T07:03:01.269Z","updated_at":"2026-04-24T07:03:02.657Z","avatar_url":"https://github.com/Calesi19.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Task Tamer\n\nA simple to do list api to practice creating a .NET Web API. This Repo serves a reference guide for creating .NET APIs.\n\n# How to run the project\n\n## Setup the database.\n\n1. Install Docker\n2. Create a Docker account.\n3. Run the following command to start a Postgres container.\n\n```bash\ndocker run --name tasktamer -p 5432:5432 -e POSTGRES_PASSWORD=task123 -e POSTGRES_USER=tamer -e POSTGRES_DB=task_tamer -d postgres\n```\n\n## Setup the API\n1. Clone the project\n```bash\ngit clone https://github.com/Calesi19/FaveFinder.git\n```\n\n2. Install the dependencies\n```bash\ndotnet restore\n```\n\n3. Run the project\n```bash\ndotnet run\n```\n\n4. Open your browser and go to `http://localhost:5000`\n\n# Create and Run a Docker Image\n\n1. Create the image with the code by running the following command:\n```bash\ndocker build -t tasktamer .\n```\n2. Run the docker image by running the command:\n```bash\ndocker run -p 8080:8080 -p 8081:8081 tasktamer\n```\n\n\n\n# Packages\n\n* Npgsql.EntityFrameworkCore.PostgreSQL\n* Microsoft.EntityFrameworkCore\n* Microsoft.EntityFrameworkCore.Design\n\n# Managing Packages\n\nYou can install/remove a package by running the following commands:\n```bash\n# To install a package\ndotnet add package \u003cpackage-name\u003e\n\n# To update a package\ndotnet add package \u003cpackage-name\u003e --version \u003cnew-version\u003e\n\n# To remove a package\ndotnet remove package \u003cpackage-name\u003e\n```\n\n# Run Migrations\n\nMake sure to have the dotnet-ef tool installed.\n\n```bash\ndotnet tool install --global dotnet-ef\n```\n\nOnce a model has been created and added to the DataAccess class, run the following migration commands on the terminal to create the tables in the database.\n\n```bash\ndotnet ef migrations add \u003cNameofthemigration\u003e\ndotnet ef database update\n```\nReplace \u003cNameofthemigration\u003e with a name you'd like to give your migration. Don't use spaces.\n\n\n# Helpful Resources\n\n* [Postgres Setup with .NET Entity Framework](https://www.youtube.com/watch?v=z7G6HV7WWz0)\n* [.NET API Guide](https://www.youtube.com/playlist?list=PL82C6-O4XrHdiS10BLh23x71ve9mQCln0)\n\n# Tutorial Guide\n\nTo create a .NET Web API, you need to have the .NET Core SDK installed on your machine.\n\nYou can run the following command to bootstrap a new .NET Web API project.\n```bash\ndotnet new webapi -n TaskTamer\n```\n\nTo create a sln file, run the following command:\n```bash\ndotnet new sln -n something\n```\nTo add a project to the solution, run the following command:\n```bash\ndotnet sln something.sln add something/something.csproj\n```\n\n\n# Testing\nSwagger is a great tool to document your API and will come pre-installed with the project. To access the Swagger UI, run the project and go to `/swagger/index.html` page when you start your API.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalesi19%2Ftask-tamer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcalesi19%2Ftask-tamer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalesi19%2Ftask-tamer/lists"}