Skip to main content

Posts

Spring Boot GraphQL Save, Update and Delete - Database MutationMapping

Learn how to get started with Graphql using spring boot framework. In this session, you will be learning like how to add the schema details and mapping the function and request payload with Graphql @MutationMapping into your controller class. So you can preform like Save, update and delete operation using graphql You need Spring web, JPA, Mysql, Lombok and Spring Graphql dependencies to your pom module. schema.graphqls (This file should be created inside the resources/graphql folder) type Query{ findAll: [User] userById(id: ID): User } type User{ id: ID name: String gender: String emailId: String } type Mutation{ addUser(userDetails: UserDetails): User updateUser(userDetails: UserDetails): User deleteUser(id: ID): String } input UserDetails{ id: ID name: String gender: String emailId: String } UserGQLController .java package com.hakeemit.graphql.controller; import com.hakeemit.graphql.entity.User; import com.hakeemit.gra...

Spring Boot GraphQL REST API - GET Function using Query Mapping

Learn how to get started with Graphql using spring boot framework. In this article, you will be learning like how to add the schema details and mapping the function and request payload with Graphql @QueryMapping into your controller class. You need Spring web, JPA, Mysql, Lombok and Spring Graphql dependencies to your pom module. schema.graphqls (This file should be created inside the resources/graphql folder) type Query{ findAll: [User] userById(id: ID): User } type User{ id: ID name: String gender: String emailId: String } UserGQLController .java package com.hakeemit.graphql.controller; import com.hakeemit.graphql.entity.User; import com.hakeemit.graphql.entity.UserDetails; import com.hakeemit.graphql.service.UserServices; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.graphql.data.method.annotation.Argument; import org.springframework.graphql.data.method.annotation.MutationMapping; import org.springframe...

Spring Boot Mysql Database Tutorial with Example Code - GET/POST/PUT/DELETE

 Learn how to connect to mysql database using spring boot framework. In this article you will learn the different types of @GetMapping/ @PostMapping / @PutMapping and @DeleteMapping Usages and their components @RestController, @Service, @Repository and @Entity. Goto Spring Initializer  https://start.spring.io/ and add the following dependencies like Spring web, JPA, lombok and mysql driver similar to below image Generate the boilerplate code and open the project into your IDE. Follow the below screenshot and create the respective packages to maintain your code easily. Lets Create the follow classes UserController.java package com.hakeemit.database.controller; import com.hakeemit.database.entity.User; import com.hakeemit.database.entity.UserDetails; import com.hakeemit.database.service.UserServices; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; import java.util.List; @RestController public class UserContr...

Spring Boot Hello World Tutorial - GetMapping REST API

Learn How to get started with Spring boot framework. Create your very first REST API using Spring Boot and the @RestController  @GetMapping annotation. Whether you're new to Java development or just getting started with Spring Boot, this step-by-step guide will help you understand the core concepts and build a simple "Hello World" RESTful API. Go to Spring Initializer  https://start.spring.io/ and fill out the following details similar to below image and add Spring web dependency HelloController.java - Create new package and new class and add the following code into that class package com.hakeemit.hello.controller; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RestController; @RestController public class HelloController { @GetMapping("/hello") public String hello(){ return "Hello World"; } } Your project structure will look like this  Once you run the application. Go ...

Form Input Widget on Flutter Android - Text, Slider, Switch, Date Picker, Buttons & Check Box

  Learn how you can use the different Form Input Widget on Flutter Android - Text, Slider, Switch, Date Picker, Buttons & Check Box This Application will give a basic idea like how you can create different widgets for the form panel designing. Video Tutorial import 'package:flutter/material.dart'; import 'package:intl/intl.dart' as intl; class FormWidgetsDemo extends StatefulWidget { const FormWidgetsDemo({super.key}); @override State createState() => _FormWidgetsDemoState(); } class _FormWidgetsDemoState extends State { final _formKey = GlobalKey (); DateTime date = DateTime.now(); double maxValue = 0; bool? checkBoxFeature = false; bool sliderFeature = false; @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( title: const Text('Hakeem Innovation Technology'), ), body: Form( key: _formKey, child: Scrollbar( child: Align( ali...

GST Calculator Android Free App

 This App is designed to help the business people to perform the GST calculation with simple operation with custom percentage setting that can be easily adjusted according to their needs.   Effortless GST Calculations for Your Business! Introducing the ultimate GST (Goods and Service Tax) Calculator designed exclusively for Indian users. Tailored to simplify your billing and invoicing needs, this app provides separate Central GST and State GST tax rates based on your entered amount.   Key Features: 📊 Detailed Breakdown: Instantly view Base fare, CGST, SGST, and Total GST, empowering your business with comprehensive insights. 🔄 Inclusive & Exclusive GST: Easily calculate both inclusive and exclusive GST amounts. 📈 Predefined GST Percentages: One-touch calculations for 3%, 5%, 12%, 18%, and 28% GST rates. ⚙️ Customizable Settings: Configure the app to match your business requirements, ensuring flexibility. 💼 Perfect for Business Owners: Prepare billing invoices effo...

Bottom Navigation Bar Flutter Sample Code

 Learn how you can design bottom navigation bar to your flutter based android application. Sample code for Bottom Navigation Bar import 'dart:developer'; import 'package:flutter/material.dart'; class AppBarBottomNavigationBar extends StatelessWidget { const AppBarBottomNavigationBar({super.key}); @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar(title: const Text('Hakeem Innovation Technology')), body: Center( child: Column(children: [ Image.asset( "assets/images/flutter.png", width: 300, height: 300, ), RichText( text: const TextSpan( text: 'Flutter Learning', style: TextStyle( color: Colors.black87, fontSize: 20, fontWeight: FontWeight.bold), ), ), ]), ), bottomNavigationB...

Tab Bar Android App Flutter - Example Code

Learn how to create tab bar on your android application using flutter. This Application will give a basic idea like how you can create tab bar with icons, text and controller. Code import 'package:flutter/material.dart'; class TabBarWidget extends StatelessWidget { const TabBarWidget({super.key}); @override Widget build(BuildContext context) { return DefaultTabController( length: 3, initialIndex: 1, child: Scaffold( appBar: AppBar( title: const Text('Contact Us'), bottom: const TabBar(tabs: [ Tab( icon: Icon(Icons.email), child: Text('Email'), ), Tab( icon: Icon(Icons.sms), child: Text('SMS'), ), Tab( icon: Icon(Icons.web), child: Text('Web'), ) ]), ), body: const...

Set Images in Flutter Android Code - Sample Application

Learn how to set image asset on your android application using flutter. This Application will give a basic idea like how you can do the assets configuration and load images from local as well as from the network website.  

Create First Flutter Sample App for Android

Learn how you can create fist Android Flutter Project with sample layout using Visual Studio Code Editor and also deploy your sample application in your Android Device emulator using Android Studio.  

How To Create Dropdown List or Combo Box in Excel

Learn how you can create your own list of data and that can be shown as dropdown or combo box within the Microsoft Office.

Flutter SDK Setup in Windows 11

Learn how to download and setup the flutter SDK in windows 11 environment variables and verify the version command from the command prompt. 

JDK Version 21 Setup in Windows 11

Learn how to download and install java development kit version 21 from the oracle website and set the path in environment variables and then verify the java & javac commands are  recognized in command prompt.

How To Fix The Display or Sound Card Problems In Windows

  Learn how you can troubleshoot the Display or Sound Drivers issue in you windows machine. Dxdiag window will show you all the Manufacturer, version and chipset details and based on this we can download the right drivers software and fix the issue.

Create Folder Without Name/ Title in Windows

Learn how you can create folder without file name . Normally when you want to create a folder or file its not possible but there is way to do it. ALT + 0160 is a blank space standard.

Setup The Structure Template In Nuxeo

Learn how you can predefined the folder structure with ACL permissions when the new workspace is created. * You can define the n number of folders in nuxeo platform * You can define any other documents * You can choose the Root / Collection / workspace / domain only once to avoid the conflict between multiple structure template. * Setting up the details via structure template, it will always execute the predefined setup whenever the context directory is being generated and you can save a lot of time for setting up the same structure and permission. Just see the below video for how to do tutorial using Nuxeo LTS 2021 platform.

Creating Vocabulary & Drop down widget Using Nuxeo Studio & Web UI 2021

Create vocabulary in nuxeo platform for dropdown widget. * Add your options in the vocabulary section & choose your vocabulary type according to your business needs * Select your document type * Go to schema section * Add a new field * Select your data type as directory * Select your vocabulary  * Save your document type * Configure your layouts like create, edit and meta with new field changes * Hot reload your configuration * Now you can see the new changes in the nuxeo platform. See the complete walk through session from the youtube.

Learn How To Create Basic Document Using Nuxeo LTS 2021 Web UI Platform.

Create a basic document using Nuxeo LTS 2021 web UI platform. Modeler Changes * Creating a customized document type with the help of file document * Adding the meta data using the schema UI * Data Type & Validation Designer Changes * Layout configuration * Create form, Edit form, Import form, Metadata form & View form. * Basic file meta data will be configured with title and description * Now we have to add new meta data that we have created in modeler section * Drag and drop the widgets using the Layout designer section. * Hot Reload the local project using Nuxeo dev Tools * Clear your cache and refersh your page * Now you can see the new document type is available to create your own document * Enjoy working with Nuxeo project in short time Watch the below video for complete demonstration.

Domain Extension ends with .co

   Dot co(.co) is a top level domain from Internet S.A.S. We have seen many extension for top level domains but after dotcom, the top level domain are to dotco domain and also it really helps the firm to generate short url with these domain and that can be used in short messaging services, social media platform and authentication process. Few examples   www.a.co - amazon websites www. g.co - Google website

Amazon Web Service Guard Duty Setup

 Amazon Guard Duty is a special level of security layer that can be used to trace the unauthorized activities for your AWS Cloud Services. So we need to setup the log stream of CloudTrail, VPC & DNS to scan your content. CloudTrail     About: Recording all Users & Access Keys based activities and its event. VPC Flow Logs     About: Monitoring IP Traffic from Amazon EC2 Network interface. This flow log we have to create with respect to instance IP Address. DNS Logs     About: Monitoring the suspicious request through DNS Resolver. Please create the log stream in the following the places and then you can see the findings in your Amazon Guard Duty.