Proof of Concept of a Web API, using MongoDB and Docker.
Simple API built using ASP.NET Core and MongoDB dockerized to demonstrate how to easily implement the MongoDB in .NET applications.
🪧 showcase.Dev | |
---|---|
🏷️ Back-End | ASP.NET Core 6, MongoDB (for testing purposes) |
🚀 API | https://localhost:7096 |
🐳 API (Image) | http://localhost:5000 |
📦 MongoDB (Image) | mongodb://catalogdb:27017 |
📑 Swagger Documentation | https://localhost:7096/swagger/index.html |
http://localhost:5000/swagger/index.html |
Install Docker Desktop.
Run the following commands, in sequence, inside the application directory:
docker-compose -f docker-compose.yml -f docker-compose.override.yml up -d
dotnet restore
dotnet run