- Install dotnet 8 SDK - https://dotnet.microsoft.com/en-us/download
- Download Visual Studio 2022
- Open the TodoApi/TodoApp.sln
- Observe the launch options: There are two launch options; In-Memory and Local DB.
Using the DB debug mode will create TodoAppDb
in your local database and create a schema and seed the database.
But the important step is to provide the correct local database server name in appsettings.dev-db.json
. It will be in the ConnectionStrings
section.
The ConnectionStrings
section will contain two connection strings DbConnection
and DbConnection
. Both will need your local DB server name.
When application is in DB mode it will register DB repo rather than in memory repo.
All API endpoints can be tested via swagger.
- Download and install Visual Studio Code.
- Install NodeJS and npm 20.10.0 (if doesnt exist) from https://nodejs.org/dist/v20.10.0/node-v20.10.0-x64.msi
- Using visual studio codes terminal verify node & npm installations
node -v
npm -v
- Install Angular CLI globally (if doesn't exist)
If the execution policy hasn't been enabled previous then run 👇
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned
- Run these npm commands
- Run
npm install -g @angular/cli
- Run
npm i
- Run
npm run local
- Navigate to http://localhost:4200/
Application has 2 views; list, and tiles. Please try both views.