To run the pokedex-api project locally, follow these steps:
- Clone the repository:
git clone git@github.com:kapaha/pokedex-api.git
- Navigate to the project directory:
cd pokedex-api
- Install project dependencies:
dotnet restore
The Pokedex application requires a database connection string to connect to the underlying database. To securely manage the connection string, we use the Secret Manager Tool.
The connection string can be stored securely in the project's secrets store. Here's how to set it up:
- Open a terminal or command prompt
- Navigate to the project's root directory
- Run the following command to set the Pokedex connection string:
dotnet user-secrets set "Pokedex:ConnectionString" "<your-connection-string>"