Skip to content

Example of Web API using MongoDB, with all solution components running in docker containers.

Notifications You must be signed in to change notification settings

marcoshidalgonunes/NetCoreMongoDb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NetCoreMongoDb

This project contains a front-end app written using React and a back-end Web API written in .NET Core.

There is also a test project showing how to use xUnit with .NET Core, covering test of classes like Controllers and void methods. There are examples of Fixture and Mock.

Containers

The components of the project run in containers. The solution of back-end project contains a docker-compose file to orchestrate the front-end, back-end and MongoDb repository. The Mongo image was pulled from Docker Hub and docker-compose uses a volume for MongoDb to be created with docker volume create mongodata command.

The project supports both Visual Studio + Docker Desktop on Windows and VS Code on Linux. For Linux it is needed to install docker and docker-compose using the package manager of chosen distro.

About

Example of Web API using MongoDB, with all solution components running in docker containers.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published