{"id":19744217,"url":"https://github.com/milleniumbug/ium_projekt","last_synced_at":"2025-10-19T14:58:53.597Z","repository":{"id":92565038,"uuid":"110529964","full_name":"milleniumbug/ium_projekt","owner":"milleniumbug","description":null,"archived":false,"fork":false,"pushed_at":"2018-01-15T03:18:44.000Z","size":835,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-10T20:42:10.166Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/milleniumbug.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}},"created_at":"2017-11-13T09:51:42.000Z","updated_at":"2018-04-25T16:08:01.000Z","dependencies_parsed_at":"2023-05-23T20:30:34.273Z","dependency_job_id":null,"html_url":"https://github.com/milleniumbug/ium_projekt","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milleniumbug%2Fium_projekt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milleniumbug%2Fium_projekt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milleniumbug%2Fium_projekt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milleniumbug%2Fium_projekt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/milleniumbug","download_url":"https://codeload.github.com/milleniumbug/ium_projekt/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241076896,"owners_count":19905679,"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","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":[],"created_at":"2024-11-12T01:42:15.009Z","updated_at":"2025-10-19T14:58:48.544Z","avatar_url":"https://github.com/milleniumbug.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"Deployment steps\n----------------\n\nOn the server:\n- Set up .NET Core\n- Set up a HTTP server with HTTPS support (like Nginx + a cert from Let's Encrypt)\n- Point a DNS record to it\n- Replace `your.hostname` in all configuration files with your server hostname, assuming identity server is on port 5000 and the API is on port 5001. These are currently located in files named `Configuration.cs` and `appsettings.json` (although just do a global find-and-replace over the entire solution and you're ready to go)\n- `dotnet publish`\n- copy the files to the server (the ones in the `publish` directories for both identity server and the API)\n- copy the initial databases from the project directories (called `mydb.db`) to the target directories\n- Configure your Nginx to reverse proxy over HTTP from 0.0.0.0:5000 to localhost:5500 and 0.0.0.0:5001 to localhost:5501\n- go to the respective directories and run `dotnet Api.dll` and `dotnet IdentityServerWithAspNetIdentity.dll` respectively.\n\nSample Nginx configuration\n--------------------------\n\n```\nserver {\n        listen 5000 default_server ssl;\n        listen [::]:5000 default_server ssl;\n\n        ssl_certificate /etc/letsencrypt/live/your.hostname/fullchain.pem;\n        ssl_certificate_key /etc/letsencrypt/live/your.hostname/privkey.pem;\n\n        location / {\n                proxy_set_header Host $host;\n                proxy_set_header X-Real-IP $remote_addr;\n                proxy_pass http://127.0.0.1:5500;\n        }\n\n        server_name your.hostname;\n}\n\nserver {\n        listen 5001 default_server ssl;\n        listen [::]:5001 default_server ssl;\n\n        ssl_certificate /etc/letsencrypt/live/your.hostname/fullchain.pem;\n        ssl_certificate_key /etc/letsencrypt/live/your.hostname/privkey.pem;\n\n        location / {\n                proxy_set_header Host $host;\n                proxy_set_header X-Real-IP $remote_addr;\n                proxy_pass http://127.0.0.1:5501;\n        }\n\n        server_name your.hostname;\n}\n```\n\nTechnology stack\n----------------\n\n(for the curious)\n\nServer: Debian Linux + Nginx + SQLite + .NET Core (with ASP.NET Core, Entity Framework Core)\nClient: Xamarin.Forms","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmilleniumbug%2Fium_projekt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmilleniumbug%2Fium_projekt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmilleniumbug%2Fium_projekt/lists"}