- Node (18.17.1)
- NPM (9.8.1)
Create a .env
with the following configuration:
AZURE_COSMOS_CONNECTION_STRING
- Cosmos DB connection string (Mongo DB also supported)AZURE_COSMOS_DATABASE_NAME
- Cosmos DB database name (Will automatically be created if it doesn't exist) (default: Todo)APPLICATIONINSIGHTS_CONNECTION_STRING
- Azure Application Insights connection stringAPPLICATIONINSIGHTS_ROLE_NAME
- Azure Application Insights Role name (default: API)
Run npm ci
to install local dependencies
Run npm run build
to build & compile the Typescript code into the ./dist
folder
Run npm start
to start the local development server
Launch browser @ http://localhost:3100
. The default page hosts the Open API UI where you can try out the API