Skip to content

mattfkho/CMDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to CMDemo

.NET Core Demo API with MongoDB and TDD with xUnit and Moq

This application consists of:

Back-end / API

  • Sample API using .NET Core MVC (build for .NETStandard1.6)
  • Connects to MongoDB
  • Autofac Dependency Injection
  • TDD using xUnit and Moq
  • Code can be run on either VS Code or Visual Studio

Front-end

  • Angular2 application with angular-cli

Requirements

The written code has been tested to build and run on Linux, MacOS and Windows with SDK "1.0.0-preview2-1-003177".

Moq is not currently compatible with .NETStandard. The package for .Net Core is not in NuGet, need to configure and get from another source feed.

In order to get Moq (4.4.0-beta8) to work, need to add a new NuGet feed.

Installation

Back-end / API

$ dotnet restore
$ dotnet build
$ dotnet run

Front-end

$ npm restore
$ npm start

About

ASP.NET Core Demo API with MongoDB and TDD with xUnit and Moq

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published