{"id":23257467,"url":"https://github.com/youssofkhawaja/myportfolio-blazor","last_synced_at":"2025-04-06T04:42:57.336Z","repository":{"id":251036921,"uuid":"836198967","full_name":"YoussofKhawaja/MyPortfolio-Blazor","owner":"YoussofKhawaja","description":"Blazor Portfolio","archived":false,"fork":false,"pushed_at":"2024-08-04T08:14:21.000Z","size":1065,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-12T10:54:14.053Z","etag":null,"topics":["chsarp","mudblazor","personal-website","portfolio","portfolio-website"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/YoussofKhawaja.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-07-31T10:59:19.000Z","updated_at":"2024-07-31T11:36:58.000Z","dependencies_parsed_at":"2024-08-04T08:42:36.426Z","dependency_job_id":null,"html_url":"https://github.com/YoussofKhawaja/MyPortfolio-Blazor","commit_stats":null,"previous_names":["youssofkhawaja/myportfolio-blazor"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YoussofKhawaja%2FMyPortfolio-Blazor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YoussofKhawaja%2FMyPortfolio-Blazor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YoussofKhawaja%2FMyPortfolio-Blazor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YoussofKhawaja%2FMyPortfolio-Blazor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/YoussofKhawaja","download_url":"https://codeload.github.com/YoussofKhawaja/MyPortfolio-Blazor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247436140,"owners_count":20938532,"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":["chsarp","mudblazor","personal-website","portfolio","portfolio-website"],"created_at":"2024-12-19T12:35:41.646Z","updated_at":"2025-04-06T04:42:57.315Z","avatar_url":"https://github.com/YoussofKhawaja.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Blazor Portfolio Project\n\nThis is an interactive Blazor application built with the MudBlazor framework. The application uses ASP.NET Web API to fetch project data and send contact emails. **(Not going to update this portfolio anymore since i migrated my portfolio to react as frontend)**\n\n# Preview\n![image](www.youssofkhawaja.com_.png)\n\n## Features\n\n- Interactive Blazor client application\n- Utilizes MudBlazor for UI components\n- ASP.NET Web API for backend services\n- PostgreSQL database integration\n- Two web API endpoints:\n  - `/api/Mail` for sending emails\n  - `/api/Project` for fetching project data\n\n## Project Structure\n\n```plaintext\nYoussofPortfolio/\n├── Client/\n│   └── [Blazor Client Project Files]\n├── Server/\n│   └── [Blazor Server Project Files]\nYoussofPortfolio.API/\n│   ├── Controllers/\n\n```\n## Prerequisites\n- NET 8.0 SDK\n- PostgreSQL database\n\n## Getting Started\n\n1. Clone the repository\n```sh\ngit clone https://github.com/youssofkhawaja/MyPortfolio-Blazor.git\ncd MyPortfolio-Blazor\n```\n2. Configure the database connection in `appsettings.json`\n3. Build and run the project:\n```sh\ndotnet build\ndotnet run\n```\n\n## Configuring appsettings.json\n#### To connect to your PostgreSQL database, update the appsettings.json file in the Server project with your database connection string\n```json\n{\n  \"Serilog\": {\n    \"MinimumLevel\": {\n      \"Default\": \"Information\",\n      \"Override\": {\n        \"Microsoft.AspNetCore.Mvc\": \"Warning\",\n        \"Microsoft.AspNetCore.Routing\": \"Warning\",\n        \"Microsoft.AspNetCore.Hosting\": \"Warning\"\n      }\n    }\n  },\n  \"ConnectionStrings\": {\n    \"DefaultConnection\": \"Server=db;Port=5432;User Id=userid;Password=pwd;Database=youssofportfoliodb;\"\n  },\n  \"AppSettings\": {\n    \"Secret\": \"\"\n  },\n  \"Logging\": {\n    \"LogLevel\": {\n      \"Default\": \"Information\",\n      \"Microsoft\": \"Warning\",\n      \"Microsoft.Hosting.Lifetime\": \"Information\"\n    }\n  },\n  \"AllowedHosts\": \"*\"\n}\n```\n\n## Configuring mail\n- Edit YoussofPortfolio.API/Services/MailService.cs\n    - Replace email with your email and pwd with your password\n\n\n## API Endpoints\n- Mail API: `/api/Mail/SendMail`\n    - Endpoint for sending contact emails.\n    - Expects a JSON payload with email details.\n\n- Project API: `/api/Project`\n    - ndpoint for fetching project data.\n    - Returns a list of projects from the database.\n\n## Contributing\nContributions are welcome! Please fork the repository and submit a pull request.\n\n## License\nDistributed under the MIT License. See `LICENSE` for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoussofkhawaja%2Fmyportfolio-blazor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyoussofkhawaja%2Fmyportfolio-blazor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoussofkhawaja%2Fmyportfolio-blazor/lists"}