Configuring the API project
With the React project now configured to hit the real API, it's time to turn our attention to the .NET solution. In order to verify that everything is wired up correctly, you'll want to write a series of integration tests to ensure that the whole system is working properly.
Integration test project
Create a new xUnit Project called SpeakerMeet.Api.IntegrationTest
within the existing solution. This will be where the .NET integration tests will be created. You may want to explore separating these out according to your preferences and/or team coding standards, but that can wait. For now, a single integration test project will do.
For our purposes, we'll be testing whether the system functions from API entry all the way to the database, and back. However, it's best to start small test individual integration points and grow from there.
Where to begin?
You could certainly start by creating a test that will call an API endpoint. In order to achieve this, an HTTP Request will...