Creating Golang REST API with Gin-Gonic Web Framework & MongoDB

preview_player
Показать описание
In this video, we will learn how to build REST API in Golang using Gin-Gonic Web Framework and performing CRUD operation using MongoDB.

Other videos :

Contact details:
(+91)-8056232494

#golang #gin #mongodb
Рекомендации по теме
Комментарии
Автор

great kickstart for my own backend project – thank you very much!

tyroneslothrop
Автор

Finally a tutorial with good folder structure and easy to follow. I just wanted the basic structure for my project and how to use mongo and routes.

rohan.spraxa
Автор

Excellent work! This was a very helpful and informative tutorial.

jaypdevaney
Автор

Need more tutorial like this :(, thank you for sharing !

irhamsahbana
Автор

nice content bro, you got yourself a new subscriber.

melvinkimathi
Автор

Thanks a lot for the clear explanation and tutorial :)

Автор

Nice vid. You could just do: cursor.All(ctx, &users) [docs: All iterates the cursor and decodes each document into results]. It will also close the cursor...

soberstudy
Автор

Thanks! I have only one small remark - ctx parameter always should be as first parameter in function :) It's just a rule to follow.

ziliboba
Автор

Great Tutorial, learned alot from this

simardeepsinghmudhar
Автор

hey how to reach the mongo db from terminal. My app is working fine but i couldnt figure out how to open mongodb from terminal. Great video by the way thank you !

yigitkaya
Автор

Thank u, that was so helpful, But I have a problem; I don't know how I can connect a mongodb to the API in VsCode,

mohammedsaberbellaaziri
Автор

Golang rest-api with gin-gonic and mysql please and how to use JWT, Gorm. setting .env and deploy to heroku/render please🙏 vidio tutorial

rifkyte
Автор

When working with NodeJS and MongoDB, for an update endpoint, I could do something like findOneAndUpdate({ filter }, { ...req.body }), and then I don't have to worry about what field is to be updated. Can this, or anything similar be done with go-gin-mongo? Let's say I had more fields in a struct, how will I know which field is the client sending to update. I don't want to have multiple update endpoints as well. Any ideas for this?

aakashjha
Автор

first thank u to share this example, and i think should change impl for a medium or big project, for example we cannot create instances of the app in init function

kamalkamals