This is the webapi server for my Router.
- Download and install node, mongodb and .net core
- Run
cd src/WebApi
to change the work folder. - Run
dotnet restore
to install the dependencies for C#. - Run
npm install
to install the dependencies for node. - Run
npm run dev
to start mongodb and the program. - Open
http://localhost:5000/swagger/ui/index.html#/
to view the api.
- Run
dotnet restore tests/WebApi.Tests
to install the dependencies for C#. - Run
dotnet test src/WebApi.Tests
to start tests.
Note: Ensure mongodb is running if you want to run IntegrationTest.
Copyright (c) youngytj. All rights reserved.
Licensed under the MIT License.