lucaslimadevs / MongoDB_poc

Proof of Concept of a Web API, using MongoDB and Docker.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ASP.NET Core API + MongoDB + Docker

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

How to Test

Install Docker Desktop.

Run the following commands, in sequence, inside the application directory:

To create docker images:

docker-compose -f docker-compose.yml -f docker-compose.override.yml up -d

To run API locally:

dotnet restore
dotnet run

About

Proof of Concept of a Web API, using MongoDB and Docker.


Languages

Language:C# 93.2%Language:Dockerfile 6.8%