This is a sample REST API ( CRUD operations ) created using the Go Programming Language. The Database used here is "MongoDb".
We connected the server with the database using the MongoDb native driver.
Data conversion has to be done regularly from json to bson and also converting them back to the defined structs created as models for the web server.
This Rest API is just a boilerplate code ( Reference Code ) for working with mongodb using golang and creating a REST API which implements CRUD operations. ( as in this boilerplate code we are inserting, finding, updating and deleting Users in our database ).