{"id":15003068,"url":"https://github.com/stevecorbett/endeavourdrinks","last_synced_at":"2025-10-30T09:31:22.670Z","repository":{"id":185175488,"uuid":"670929066","full_name":"SteveCorbett/EndeavourDrinks","owner":"SteveCorbett","description":"A Sample Full-Stack Angular 16.1, C#, MS-SQL Shopping Cart/Trolley Application","archived":false,"fork":false,"pushed_at":"2024-12-19T06:12:50.000Z","size":2767,"stargazers_count":2,"open_issues_count":3,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-02T07:51:13.382Z","etag":null,"topics":["angular16","c-sharp","mssql-database","rxjs","shopping-cart","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/SteveCorbett.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":"2023-07-26T06:46:41.000Z","updated_at":"2024-12-19T06:12:49.000Z","dependencies_parsed_at":"2023-08-01T00:44:56.448Z","dependency_job_id":"38cda008-acb2-4577-8d64-92e9f2741793","html_url":"https://github.com/SteveCorbett/EndeavourDrinks","commit_stats":null,"previous_names":["stevecorbett/endeavourdrinks"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SteveCorbett%2FEndeavourDrinks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SteveCorbett%2FEndeavourDrinks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SteveCorbett%2FEndeavourDrinks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SteveCorbett%2FEndeavourDrinks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SteveCorbett","download_url":"https://codeload.github.com/SteveCorbett/EndeavourDrinks/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238950485,"owners_count":19557533,"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":["angular16","c-sharp","mssql-database","rxjs","shopping-cart","typescript"],"created_at":"2024-09-24T18:55:38.988Z","updated_at":"2025-10-30T09:31:17.074Z","avatar_url":"https://github.com/SteveCorbett.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EndeavourDrinksApp\n\nThis solution contains a demonstration of a imaginary shopping cart applicationwhich consists of the following Visual Studio projects:\n\n - DrinksDatabase is a MS-SQL project containing the schema, table definitions and stored procedures required for this application.\n - EndeavourDrinks is a C# API REST server for the application.\n - EndeavourDrinks.App is an Angular 16.1 browser application. This was developed using VS Code.\n - EndeavourDrinks.DAL is the C# 'data access layer' which provides the logic and interaction with the database for the REST server.\n - EndeavourModels contains the C# definitions of the tables and API data structures.\n\n## System Requirements\n - An instance of MS-SQL server. This can be a local or a network server.\n - Visual Studio 2022.\n - Node.Js installed.\n - VS Code (Optional)\n## Installation Instructions\n- Open the solution using Visual Studio\n- Publish the DrinksDatabase project using Visual Studio to you SQL server instance.\n- Create sample customers and products by running the script `initialData.sql` against the database.\n- Create an environmental variable, 'SQLCONNSTR_DrinksConnStr' with the connection string to this database. (This can be added into the Visual Studio debugging settings.) For example: `Data Source=(localdb)\\MSSQLLocalDB;Initial Catalog=EndeavourDrinks;Integrated Security=True;Connect Timeout=60;Encrypt=False`\n- Run the API REST server application from within Visual Studio in debug mode. This will open a Swagger page in the browser. Test that the API server is running be executing the GetCustomer or GetProducts API.\n- Navigate to the EndeavourDrinks.app folder from a command line (PowerShell), or optionally open with VS Code, then:\n    - From the command line run the command `npm i` to install the Node packages\n    - From the command line run the command `npm run start`\n\n## To Do!\nThis is only a demonstration of what can be done in 3 days so there's plenty of scope for improvements, including:\n\n- Other optional features of the specifications:\n    - Deploying to a cloud provider with a CI/CD pipeline\n    - A dashboard to monitor the application\n    - Handle item and order discounts. (Some allowance for these are in the database design.)\n- Auditing and logging features for both the client and server applications.\n- Additional unit tests.\n- Component and E2E tests.\n- Internationalization.\n- Obtaining end-point configurations programatically, for example, from environment variables a configuration file.\n- Accessibility enhancements.\n- Mobile and tablet responsive views.\n- Implement authentication.\n- Improved alert and error display.\n- Ability to enter a quantity as a number, to order a dozen bottles of wine is not easy at the moment.\n- Add a search/filter capability.\n- Display products as cards, with an image.\n- Ensure that deployment into Linux works.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstevecorbett%2Fendeavourdrinks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstevecorbett%2Fendeavourdrinks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstevecorbett%2Fendeavourdrinks/lists"}