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.
- Host: GitHub
- URL: https://github.com/itsmaheshkariya/dotnet-core-mongodb-swagger-rest-api
- Owner: itsmaheshkariya
- Created: 2020-06-13T22:35:00.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-03T23:28:32.000Z (about 2 years ago)
- Last Synced: 2025-01-06T01:09:14.310Z (4 months ago)
- Topics: api, dotnet, dotnetcore, dotnetcore3-1, mongodb, rest, restapi, swagger, swagger-ui, webapi
- Language: C#
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Dotnet Core Swagger MongoDB REST API
`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`
