Posts

Showing posts with the label React JS

Simple CRUD Application using Ktor and React.js

Image
To build a CRUD (Create, Read, Update, Delete) application using Ktor for the backend and React.js for the frontend, follow these steps: 1. Backend: Ktor Setup Ktor Project Create a new Ktor project: Use Ktor Project Generator or manually set it up. Add dependencies for ktor-server-core , ktor-server-netty , ktor-server-content-negotiation , and ktor-serialization . Add the following dependencies in build.gradle.kts : implementation ( "io.ktor:ktor-server-core:2.x.x" ) implementation ( "io.ktor:ktor-server-netty:2.x.x" ) implementation ( "io.ktor:ktor-server-content-negotiation:2.x.x" ) implementation ( "io.ktor:ktor-serialization-kotlinx-json:2.x.x" ) implementation ( "ch.qos.logback:logback-classic:1.x.x" ) // For logging Create Ktor Application Define a simple API for managing resources. File: Application.kt package com.example import io.ktor.application.* import io.ktor.http.* import io.ktor.response.* import io.ktor.r...

.Net + Microsoft SQL Server + React JS CRUD Application Example

Image
In this section, we will learn how to develop a full-stack web application that is a basic User Management Application using  .Net 6 ,  Microsoft SQL Server ,  Microsoft Entity Framework Core provider for SQL Server , and  React JS . You could download the source code from our Github repository, the download link is provided at the end of this tutorial. 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 • View User • Delete User We divided this tutorial into two parts.   PART 1 - Restful API Development with .Net 6 & Microsoft SQL Server. PART 2 - UI development using React JS. PART 1 - Restful API Development with .Net 6 &  Microsoft SQL Server. These are APIs that .Net backend App will export: Create database and table. First, you need to create a database in the Microsoft server....