MTMithilesh Tarkarinmtarkar.hashnode.dev·Oct 16, 2024 · 2 min readConsuming API routes in Next.jsNext.js provides an amazing feature called API routes where you define server side logic to fetch data from your apis and pass it to client side. In this article, lets see how can we can fetch news from an API route and send the data to the client si...00
MTMithilesh Tarkarinmtarkar.hashnode.dev·Oct 2, 2024 · 3 min readWorking with GORM ORM with Go and Gin ServerGORM is a popular ORM used with golang to communicate with SQL database. In this article, we will look at how we can setup GORM in our go server using gin framework. Create New Go App Lets start by creating a new go app. mkdir <go-app> cd <go-app> go...00
MTMithilesh Tarkarinmtarkar.hashnode.dev·Sep 14, 2024 · 6 min readHow to create a CLI app with GoGo provides lot of tools for building great CLI apps. Some of the great tools available in the go ecosystem are tools like Cobra, Bubbletea. In this tutorial we will look at how we can build a command line app in Cobra. Create a new go project Start ...00