Depot
Depot copied to clipboard
Depot is a sample distributed app (API + Service) using MongoDB, RabbitMQ, Redis & built with .NET Core.
| Branch | Build status |
|---|---|
| master | |
| develop |
In order to start the application type the following commands:
cd scripts
docker-compose build
./docker-run.sh
Or simply dotnet run projects separately and make sure that MongoDB, RabbitMQ and Redis are running as services.
Depot API will be running at http://localhost:5000 and Entries Service at http://localhost:5050.
For more information take a look at my blog post.
Usage
Create a new entry via HTTP request:
curl localhost:5000/entries -X POST -H "content-type: application/json" -d '{"key": "my-key", "value": "sample value"}'
Browse logs: http://localhost:5000/logs
Browse keys: http://localhost:5050/entries
Fetch value: http://localhost:5050/entries/{key}