Posts

Go Language, MYSQL - Simple Rest CRUD API example

Image
In this article, we will show you how to develop a  REST-style web service with Go Language and MYSQL. These are APIs that Spring backend App will export: GET all User's        :   /users GET User by ID     :   /users/{id}  POST User             :   /users PUT User               :   /users DELETE User       :   /users/{id} Technologies used: Go Language MYSQL Database gorilla/mux jinzhu/gorm gorilla/mux:  The gorilla/mux package provides request routing, validation, and other services. jinzhu/gorm:  The gorm is an ORM library for the Go language.GORM provides CRUD operations and can also be used for the initial migration and creation of the database schema. Final Project Structure: Let's start building the application Create database 'userdb': CREATE DATABASE userdb; Initialize the Go project: Initialize the Go project  using the following command go mod init rest-crud-api-go-lang Adding the modules required for the project: go get github.com/gorilla/mux go get github.c

Kotlin + Spring Boot + React JS + MongoDB CRUD example

Image
Hello everyone, hope you are doing well , today we will learn how to develop a full-stack web application that is a basic User Management Application using React JS, Kotlin, Spring Boot, and MongoDB. You can download the source code from our GitHub Repository. After completing this tutorial what we will build?  We will build a full-stack web application that is a basic User Management Application with CRUD features:  • Create User  • List User  • Update User  • Delete User  A quick overview of React, Kotlin, Spring Boot, and MongoDB    Kotlin Kotlin is a statically typed, general-purpose programming language targeting the Java platform. Kotlin is concise, safe, pragmatic, and fixated on interoperability with Java code. It can be used virtually everywhere Java is utilised today: for server-side development, Android apps, and much more. Kotlin works great with all subsisting Java libraries and frameworks and runs with the same level of performance as Java. MongoDB MongoDB is a document d