hacker-news-viewer/ │ ├── Api/ # .NET Core API project │ ├── Controllers/ # API Controllers │ ├── Services/ # Service classes │ ├── Tests/ # Unit tests │ └── Program.cs # Main entry point │
- .NET Core SDK
- Node.js and npm
- Navigate to the
NewsApidirectory. - Run
dotnet restoreto install dependencies. - Run
dotnet buildto build the project. - Run
dotnet runto start the API.
- Navigate to the
NewsApidirectory. - Run
dotnet testto run the unit tests.