https://github.com/itsmaheshkariya/dotnetcore-mongodb-rest-api
Simple REST API Using Dotnet core and MongoDB.
https://github.com/itsmaheshkariya/dotnetcore-mongodb-rest-api
api dotnet dotnetcore mongodb rest
Last synced: about 2 months ago
JSON representation
Simple REST API Using Dotnet core and MongoDB.
- Host: GitHub
- URL: https://github.com/itsmaheshkariya/dotnetcore-mongodb-rest-api
- Owner: itsmaheshkariya
- Created: 2020-06-09T20:31:32.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-03T23:28:34.000Z (about 2 years ago)
- Last Synced: 2025-01-06T01:09:13.537Z (4 months ago)
- Topics: api, dotnet, dotnetcore, mongodb, rest
- Language: C#
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DotNetCore REST API
### This is simple Dotnet REST API Code with mongodb.
`dotnet version -- 3.1.300`
`mongoDB.Driver version -- 2.4.10`
### user following mongodb connection string for testing
`mongodb://mahesh:[email protected]:27017,cluster0-shard-00-01-avqhv.mongodb.net:27017,cluster0-shard-00-02-avqhv.mongodb.net:27017/?ssl=true&replicaSet=Cluster0-shard-0&authSource=admin&retryWrites=true&w=majority`
### Build Command
```
dotnet build
```### Run Command
```
dotnet run
```### Watch Command
```
dotnet watch run
```### Check Url
`[GET,POST]`http://localhost:5000/user
`[DELETE,PUT]`
http://localhost:5000/id_of_user
### Install package
```
dotnet add package package_name
```