The project is a basic website that lists products for sale based on data from a 3rd-party API. The purpose is to help me learn about Razor pages with ASP.NET Core.
You will need the .NET 8 SDK installed on your machine. You can download it from here.
- Clone the repository.
- From the
./Shamazon/
directory, rundotnet run
. The site will be available athttps://localhost:5073/
.
To change between Production and Development environments, set the ASPNETCORE_ENVIRONMENT
environment variable to Production
or Development
in launchSettings.json
. From that file you can also change the port number.
From the ./Shamazon.Tests.Unit/
directory, run dotnet test
.