An open API service indexing awesome lists of open source software.

https://github.com/neckerfree/mongodockerservice

Take Home Project to connect MongoDB Minimal API service to Docker Container
https://github.com/neckerfree/mongodockerservice

Last synced: about 2 months ago
JSON representation

Take Home Project to connect MongoDB Minimal API service to Docker Container

Awesome Lists containing this project

README

          

# MongoDockerService

## Description

> The purpuse of this project is to implement .NET Minimal Api using MongoDB and Docker Container

### Built With
- MongoDB (Code First)
- C#.NET Minimal API
- Local Nuget Package

### Prerequisites:
- MongoDB
- Docker
### Project Set up

Clone Repository using

`git clone https://github.com/NeckerFree/MongoDockerService

Move into project directory

`cd MongoDockerService`

### Set the statup project

1. In the base folder execute the command `docker compose up` to lift the Mongo Container in Docker

### Start the project

1. In command line open the folder: `\src\Services\Consumer\Consumer.API`
2. Execute the command `dotnet run`
3. In the browser open the url: `http://localhost:5036/swagger/index.html`
4. Now you can see the swagger document and execute CRUD operations

![MongoDockerService](https://github.com/NeckerFree/MongoDockerService/assets/8497300/7e4bc1d3-b713-461e-940f-8ab350da7ba7)
## Author:

👤 **Elio Cortés**

- GitHub: [@NeckerFree](https://github.com/NeckerFree)
- Twitter: [@ElioCortesM](https://twitter.com/ElioCortesM)
- LinkedIn: [elionelsoncortes](https://www.linkedin.com/in/elionelsoncortes/)

## 🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the [Issues page](https://github.com/NeckerFree/MongoDockerService)/issues).

## Show your support

Give a ⭐️ if you like this project!

## 📝 License

This project is [MIT](./LICENSE) licensed.