{"id":24517873,"url":"https://github.com/moattarwork/cms","last_synced_at":"2025-10-25T05:01:42.151Z","repository":{"id":88929006,"uuid":"398866798","full_name":"moattarwork/CMS","owner":"moattarwork","description":null,"archived":false,"fork":false,"pushed_at":"2021-08-23T00:48:40.000Z","size":232,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-22T01:36:51.219Z","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/moattarwork.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":"2021-08-22T18:07:08.000Z","updated_at":"2021-08-23T00:48:43.000Z","dependencies_parsed_at":"2023-06-13T04:47:02.240Z","dependency_job_id":null,"html_url":"https://github.com/moattarwork/CMS","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moattarwork%2FCMS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moattarwork%2FCMS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moattarwork%2FCMS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moattarwork%2FCMS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moattarwork","download_url":"https://codeload.github.com/moattarwork/CMS/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243719398,"owners_count":20336607,"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":"2025-01-22T01:35:50.069Z","updated_at":"2025-10-25T05:01:37.112Z","avatar_url":"https://github.com/moattarwork.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CMS\n\nThe repo contains a simple Contact Management System written in .Net 5 and Angular Framework.\n\n## Pre-requisite \n\nTo be able to run the application, the following components need to be installed:\n\n- [.Net 5.0 SDK](https://dotnet.microsoft.com/download/dotnet/5.0)\n- [NodeJs](https://nodejs.org/en/)\n\n## How to build/run\n\nClone the project from github to the local machine \n\n```\ngit clone https://github.com/moattarwork/cms\n```\n\n### API\n\nIn order to run the API:\n\n```\ncd cms\\api\n\ndotnet build\ndotnet run \n```\n\nThe OpenAPI endpoint for the API is available at `https://localhost:5001/swagger` which the endpoints are directly testable from API but also postman can be used to test the API. Also the API currently have almost full unit and integration tests.\n\n**NOTE:** The API uses in memory database instead of SQL Server to avoid dependency to SQL however SQL Server 2017+ in docker can be used for local development. \n\n### Web App\n\nIn order to run the application:\n\n```\ncd cms\\webapp\n\nnpm install\nnpm start\n```\n\nThe configuration is already pointing to `https://localhost:5001` so by browsing to `https://localhost:4200` the application will be accessible.\n\nThe Angular application has been done in NX framework which facilitates a couple of criteria for Angular Apps:\n\n- MicroApp development\n- Mono-Repo development\n- Better packaging, publishing and upgrade for Angular components and apps\n- Integration with Jest, Cypress and NGRX\n\n**NOTE:** NGRX based solution has not been implemented as part of the solution (Due to the timing and effort for unit testing too) however a foundation work has been done for defining the state, reducers, effects, actions and selectors on a separate branch (NGRX which is not runnable yet). It can be considered as an extension point to the current solution for a redux-based implementation.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoattarwork%2Fcms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoattarwork%2Fcms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoattarwork%2Fcms/lists"}