76e2ca4836
Bumps [undici](https://github.com/nodejs/undici) to 6.6.2 and updates ancestor dependency [@angular-devkit/build-angular](https://github.com/angular/angular-cli). These dependencies need to be updated together. Updates `undici` from 6.2.1 to 6.6.2 - [Release notes](https://github.com/nodejs/undici/releases) - [Commits](https://github.com/nodejs/undici/compare/v6.2.1...v6.6.2) Updates `@angular-devkit/build-angular` from 17.1.4 to 17.2.2 - [Release notes](https://github.com/angular/angular-cli/releases) - [Changelog](https://github.com/angular/angular-cli/blob/main/CHANGELOG.md) - [Commits](https://github.com/angular/angular-cli/compare/17.1.4...17.2.2) --- updated-dependencies: - dependency-name: undici dependency-type: indirect - dependency-name: "@angular-devkit/build-angular" dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> |
||
---|---|---|
.vscode | ||
Api | ||
ProjectDB | ||
Tests | ||
web-app | ||
.gitignore | ||
BrainWare.sln | ||
output.GIF | ||
README.md |
BrainWare Order List
This is a very small sample web application written in a very simplistic manner.
Grab the code and refactor it so that it meets your standard for production ready code.
There is no need to add additional functionality and you do not need to keep the existing code or project structure.
The only requirement is that it returns the list of orders and that it meets your standards!
Fork this project to your personal repo and commit all your changes to that branch.
Changes for Running Locally
Update the connection string in the class \Api\Infrastructure\Database.cs.
Change the AttachDbFile name to the full path of the BrainWare.mdf file (located under \Api\Data).
Original Output Example
Setup
Database Setup
-
Start SQL Server Management Studio as Administrator
-
Once connected to your local SQL Server instance
-
Right click on the Database node and select Attach
-
Select the file BrainWare\Api\Data\BrainWare.mdf
-
You can also deploy the project ProjectDB to your local SQL Server instance
-
Then execute in SQL Server Management Studio the file BrainWare\ProjectDB\PopulateDB.sql
API - Visual Studio
- Open solution BrainWare\BrainWare.sln
- Update the database connection string in file Api\Infrastructure\Database.cs
- Set the project Web, as the start up project
- Press F5
API - VS Code or Command Line
- Open Brainware folder
- dotnet run --project=./Api
Web App - VS Code or Command Line
- Open Brainware folder
- cd .\web-app\
- npm install
- npm start