Skip to content

danhpaiva/net-api-mongodb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

17 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Web Api .Net

Status β€’ Objective β€’ Installation β€’ Technology β€’ Author β€’ Licence

βœ”οΈ Concluded βœ”οΈ

πŸ“œ Objective

API with Mongo DB integration.
We used SDK 3.1 to build the API.
Mongo DB Atlas has a cluster with 03 nodes for data availability.

β˜‘οΈ Installation

  • Clone the repository
  • Debug API
  • Routes:

Get: https://localhost:5001/infected

Post: https://localhost:5001/infected

Body (Json):

{
	"dataNascimento": "1992-03-01",
	"sexo": "M",
	"latitude": -23.5630994,
	"longitude": -46.6565712
}

Note: it is necessary to configure the access to the database in the appsettings (connection string).

🧰 Technology

In this project we use the following technologies:

πŸ˜„ Author

Developed by Daniel Paiva

πŸ†“ Licence

This project is under license: MIT

Releases

No releases published

Packages

No packages published

Languages