---
description: How to build, explore and test application
---

# Build and Test

### Emulator

Use the **Azure Cosmos DB Emulator** for local development and testing.  You can download and install the Azure Cosmos Emulator from the [Microsoft Download Center](https://aka.ms/cosmosdb-emulator).

### Build

Run _Cosmos.Toggles.Ui.Api.csproj_ and explore the swagger to exemplify all application flow. Execute command in the _cosmos-toggles/src_ project path:

```
dotnet run --project ./Ui/Cosmos.Toggles.Ui.Api/Cosmos.Toggles.Ui.Api.csproj
```

For access swagger, enter [https://localhost:44362/swagger/index.html](https://localhost:44362/swagger/index.html) in your browser.

![Cosmos Toggle Swagger](https://671096574-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M5U_9P01IqrPiSZdSYB%2F-M64j4JtTBVg_MboplhJ%2F-M64jZaEDA-KgcbnBmDl%2Fcosmos-toggles-swagger.png?alt=media\&token=9bb27301-09d0-4869-8a9b-04e1c059d42b)

### Test

Download the[ free Postman app to get started](https://www.postman.com/downloads/).

> Postman is a collaboration platform for API development. Postman's features simplify each step of building an API and streamline collaboration so you can create better APIs—faster.

Open Postman and import Cosmos Toggles Collection from link:

```
https://www.getpostman.com/collections/80a0e2627584345149ed
```

Run collection and results might look something like this:

![Collection Runner](https://671096574-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M5U_9P01IqrPiSZdSYB%2F-M64j4JtTBVg_MboplhJ%2F-M64lQhGwmopuaI2O6Wu%2Fcosmos-toggles-postman.png?alt=media\&token=941d06ff-4017-4e6a-b5d1-29470b3b8771)
