- .NET SDK 8
- Node.js (LTS) and npm
- Angular CLI (
npm i -g @angular/cli)
Location: backend/NotesApi
Install packages (first time only):
dotnet restore
Run:
dotnet run
The API will start on a random port (shown in console). Swagger is available at /swagger.
Location: frontend/notes-app
Install dependencies (first time only):
npm install
Start dev server:
npm start
Open http://localhost:4200.
The Angular app uses http://localhost:5200/api/notes by default. If your API runs on a different port, update src/app/services/notes.service.ts baseUrl accordingly.