{"id":24501118,"url":"https://github.com/bacdong/applestore-v3-api","last_synced_at":"2026-04-20T05:01:54.737Z","repository":{"id":56234814,"uuid":"301994144","full_name":"Bacdong/applestore-v3-api","owner":"Bacdong","description":"This is my team project build Apple Store using C-Sharp Dotnet Core","archived":false,"fork":false,"pushed_at":"2020-11-19T04:28:49.000Z","size":5198,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-15T07:27:17.920Z","etag":null,"topics":["api","asp-net-core","asp-net-mvc","css3","dbeaver","es6","html5","nosql","postgresql","sass","scss","ssl-certificate","webapp"],"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/Bacdong.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-07T09:56:13.000Z","updated_at":"2021-01-12T09:06:24.000Z","dependencies_parsed_at":"2022-08-15T15:10:30.158Z","dependency_job_id":null,"html_url":"https://github.com/Bacdong/applestore-v3-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Bacdong/applestore-v3-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bacdong%2Fapplestore-v3-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bacdong%2Fapplestore-v3-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bacdong%2Fapplestore-v3-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bacdong%2Fapplestore-v3-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Bacdong","download_url":"https://codeload.github.com/Bacdong/applestore-v3-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bacdong%2Fapplestore-v3-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32033717,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"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","asp-net-core","asp-net-mvc","css3","dbeaver","es6","html5","nosql","postgresql","sass","scss","ssl-certificate","webapp"],"created_at":"2025-01-21T22:23:50.080Z","updated_at":"2026-04-20T05:01:54.719Z","avatar_url":"https://github.com/Bacdong.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Apple Store #\n\n\n### Reference Documentation ###\n- [C-Sharp](https://docs.microsoft.com/en-us/dotnet/csharp/)\n- [ASP.NET Core 3.1](https://docs.microsoft.com/en-us/aspnet/core/?view=aspnetcore-3.1)\n- [ASP.NET Core 5.0](https://docs.microsoft.com/en-us/aspnet/core/introduction-to-aspnet-core?view=aspnetcore-5.0)\n- [PostgreSQL 12.4](https://www.postgresql.org/docs/)\n\n\n### Setup Development Enviroments (Linux) ###\n- [SDK Installation 3.1](https://docs.microsoft.com/en-us/dotnet/core/install/linux-ubuntu#2004-)\n- [Runtime Installation 3.1](https://docs.microsoft.com/en-us/dotnet/core/install/linux-ubuntu#2004-)\n- Support Enviroments:\n\n```\nsudo apt install nodejs\nsudo apt install npm\n```\n\n- PostgreSQL Installation:\n```\nsudo sh -c 'echo \"deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main\" \u003e /etc/apt/sources.list.d/pgdg.list'\nwget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -\nsudo apt-get update\nsudo apt-get -y install postgresql\n```\n\n- DBeaver - Database Management Tools Installation:\n```\nwget -O - https://dbeaver.io/debs/dbeaver.gpg.key | sudo apt-key add -\necho \"deb https://dbeaver.io/debs/dbeaver-ce /\" | sudo tee /etc/apt/sources.list.d/dbeaver.list\nsudo apt-get update \u0026\u0026 sudo apt-get install dbeaver-ce\n```\n\n### ASP.NET Core Update Latest Version ###\n- [ASP.NET Core 5.0](https://docs.microsoft.com/vi-vn/dotnet/core/install/linux-alpine)\n- [dotnet-install.sh](https://dot.net/v1/dotnet-install.sh.)\n```\nchmod +x ./dotnet-install.sh\n./dotnet-install.sh -c Current\n./dotnet-install.sh -c Current --runtime aspnetcore\n./dotnet-install.sh -c 5.0\n```\n\n\n### ASP.NET Core Update Latest Version ###\n- [ASP.NET Core 5.0](https://docs.microsoft.com/vi-vn/dotnet/core/install/linux-alpine)\n- [dotnet-install.sh](https://dot.net/v1/dotnet-install.sh.)\n```\nchmod +x ./dotnet-install.sh\n./dotnet-install.sh -c Current\n./dotnet-install.sh -c Current --runtime aspnetcore\n./dotnet-install.sh -c 5.0\n```\n\n\n### Package Installation ###\n```\ncd applestore_dotnet_core\n```\n\n* Entity Framework:\n```\ndotnet add package Npgsql.EntityFrameworkCore.PostgreSQL\ndotnet add package Microsoft.EntityFrameworkCore.Design\ndotnet add package Microsoft.EntityFrameworkCore.Tools\ndotnet add package Microsoft.Extensions.Configuration.FileExtensions\ndotnet add package Microsoft.Extensions.Configuration.Json\ndotnet add package Microsoft.AspNetCore.Identity.EntityFrameworkCore\ndotnet add package Microsoft.AspNetCore.Hosting\ndotnet add package Microsoft.AspNetCore.Http\ndotnet add package Swashbuckle.AspNetCore\n```\n\n* EF Core Tools: `Installation`\n```\ndotnet tool install --global dotnet-ef\n```\n\n* EF Core Tools: `Update`\n```\ndotnet tool update --global dotnet-ef\n```\n\n* Troubleshoot .NET Core tool: `dotnet-ef does not exist`\n```\nexport PATH=$HOME/.dotnet/tools:$PATH\"\n```\n\n\n### Migrations Database ###\n- Adding a migration:\n```\ndotnet ef migrations add \u003cmigration_name\u003e -o \"Data/Migrations\"\n```\n\n- Update database:\n```\ndotnet ef database update\n```\n\n- Remove migration:\n```\ndotnet ef migrations remove\n```\n\n\n### Push a commit code to source code management ###\n```\ngit add .\ngit commit -m \"\u003ccommit_message\u003e\"\ngit push -u origin master (push to Github)\ngit push -u Main master (push to Gitlab)\n```\n\n\n### Setup The Trust HTTPs Certificate for Linux ###\n- Read more at here \u003e\n[Trust HTTPs Certificate](https://andrewlock.net/creating-and-trusting-a-self-signed-certificate-on-linux-for-use-in-kestrel-and-asp-net-core/)\n\n- Setup Certificate on Local Machine\n```\ncd OpenSSL\nsudo apt install libnss3-tools\npk12util -d sql:$HOME/.pki/nssdb -i localhost.pfx\ncertutil -d sql:$HOME/.pki/nssdb -A -t \"P,,\" -n 'dev cert' -i localhost.crt\n```\n\n- Creating a basic certificate using OpenSSL\n```\nopenssl req -new -x509 -newkey rsa:2048 -keyout localhost.key -out localhost.cer -days 365 -subj /CN=localhost\nopenssl pkcs12 -export -out localhost.pfx -inkey localhost.key -in localhost.cer\nopenssl req -config localhost.conf -new -x509 -sha256 -newkey rsa:2048 -nodes \\\n    -keyout localhost.key -days 3650 -out localhost.crt\nopenssl pkcs12 -export -out localhost.pfx -inkey localhost.key -in localhost.crt\n```\n\n\n### Project Start ###\n```\ndotnet watch run\n```\n\n\n### Template ###\n* [Apple Store Templete](https://github.com/BuiTrungHau1312/applestore_template)\n\n\n### Participants ###\n- [Duong Bac Dong](https://github.com/Bacdong)\n- [Bui Trung Hau](https://github.com/BuiTrungHau1312)\n- [Luu Duc Hoa](https://github.com/Luuduchoa2504)\n- [Le Nguyen Anh Duc](https://github.com/anhducjav)\n- [Pham Dang Hoang](https://github.com/PhamDangHoang1211)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbacdong%2Fapplestore-v3-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbacdong%2Fapplestore-v3-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbacdong%2Fapplestore-v3-api/lists"}