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

https://github.com/itsmaheshkariya/dotnet-core-mongodb-swagger-rest-api

In this Tutorial I am gonna take you through Swagger Implementation With Dot-net Core and MongoDB on Cloud.
https://github.com/itsmaheshkariya/dotnet-core-mongodb-swagger-rest-api

api dotnet dotnetcore dotnetcore3-1 mongodb rest restapi swagger swagger-ui webapi

Last synced: about 2 months ago
JSON representation

In this Tutorial I am gonna take you through Swagger Implementation With Dot-net Core and MongoDB on Cloud.

Awesome Lists containing this project

README

        

## Dotnet Core Swagger MongoDB REST API
![.NET Core](https://github.com/maheshkareeya/dotnet-core-mongodb-swagger-rest-api/workflows/.NET%20Core/badge.svg)

`Clone Directory using Git`
```
git clone https://github.com/maheshkareeya/dotnet-core-mongodb-swagger-rest-api.git
```
`Change Directory`
```
cd otnet-core-mongodb-swagger-rest-api
```

`Restore Packages`
```
dotnet restore
```

`Run Command`
```
dotnet run
```

`Watch Command`
```
dotnet watch run
```

`Check Url`
https://localhost:5001/swagger

`MongoDB String For Testing`
```
mongodb://swagger:[email protected]:27017,cluster0-shard-00-01-aty7t.mongodb.net:27017,cluster0-shard-00-02-aty7t.mongodb.net:27017/?ssl=true&replicaSet=Cluster0-shard-0&authSource=admin&retryWrites=true&w=majority
```

`Demo`
![Screenshot 2020-06-14 at 3 58 37 AM](https://user-images.githubusercontent.com/16520789/84580449-b6e04d00-adf4-11ea-9d95-0b9440cc8939.png)