SlideShare a Scribd company logo
1 of 26
A Journey into React Forms, APIs, Axios, and
CRUD Operations
Robin Sinha
MERN
Trainer,
• Creating Basic Forms in React
• RESTful APIs and CRUD
Operations
• Axios Requests and Frontend
Integration
• React forms are an essential part
of web development, allowing
users to input and submit data.
• They provide a way to collect
information from users and
interact with the backend.
• React forms enable creating
dynamic and interactive user
interfaces.
• State is managed by React.
• Form input values are stored in the
component's state and updated through
event handlers.
• Provides a single source of truth for form
data.
• Allows for validation and manipulation of
user input.
FORM INPUTS
CONTROLLED
COMPONENTS
• State is managed by the DOM.
• Form input values are accessed directly
from the DOM using refs.
• Typically used when form validation is
not required or handled by external
libraries.
• Can be simpler to implement for basic
forms.
UNCONTROLLED
COMPONENTS
<input type = "text"/>
Elewayte
<input
type = "text"
value = "Elewayte"/>
Elewayte
CONTROLLED
COMPONENTS
UNCONTROLLED
COMPONENTS
Example
APIs (Application
Programming Interface
APIs are mechanisms that enable
two software components to
communicate with each other
using a set of definitions and
protocols.
API call is initiated by the client application via a HTTP
request.
API generates a response containing the requested
data or performs the requested action.
Client processes the API response to extract data or
trigger further actions.
RESTful APIs
• REST (Representational State Transfer)
is an architectural style for designing
networked applications.
• RESTful APIs follow the principles of
REST and provide a stateless, scalable,
and uniform approach to API
development.
Fetching information from a database or external
service.
Submitting new data or updating existing data.
Connecting with services like payment gateways or
social media platforms.
HTTP Request Methods
The Hypertext Transfer Protocol (HTTP) is
designed to enable communications
between clients and servers.
Example: A client (browser) sends an HTTP
request to the server; then the server
returns a response to the client. The
response contains status information
about the request and may also contain
the requested content.
• Used for retrieving data from a server.
• Examples: fetching a user's profile, retrieving a list of
products, getting weather data.
• GET requests are typically safe, as they should not
modify server data.
• Parameters can be included in the URL or as query
parameters.
• Response data is returned in the body of the HTTP
response.
• Used for sending data to a server to create or
update resources.
• Examples: submitting a form, creating a new
user, adding a comment.
• POST requests can modify server data.
• Data is sent in the body of the HTTP request,
typically in JSON or form-urlencoded format.
• Response may contain the newly created
resource or a confirmation message.
Axios: Making
HTTP Requests
in React
It provides a simple and
intuitive API for handling AJAX
requests in React and other
JavaScript frameworks.
Axios is a popular JavaScript
library used for making HTTP
requests from the browser.
Axios supports all modern browsers and provides
consistent behavior for HTTP requests.
It offers features like interceptors, automatic JSON
parsing, and error handling.
Axios simplifies the process of making
asynchronous requests and handling responses.
IMPLEMENTI
NG THE
CRUD
FUNCTIONALI
TY
CREATE READ UPDATE DELETE
C R U D
Axios provides a convenient way to make HTTP
requests and interact with backend APIs to perform
CRUD operations.
Each CRUD operation corresponds to a specific HTTP
method: POST for Create, GET for Read, PUT for Update,
and DELETE for Delete.
Axios allows us to send these HTTP requests to the
appropriate API endpoints.
E-commerce
Product
Management
Social Media
Post
Management
Task
Management
Application
Front-end development, also known as
web integration or client side development
is the process of using HTML, CSS,
Javascript, and other languages to build
efficient and usable websites, web
applications and mobile apps.
Frontend Integration
Breakdown of
frontend
applications into
reusable modules
Implementation of
consistent
communication
patterns
Utilizing version
control systems
Robust
mechanisms to
handle exceptions
gracefully
Comprehensive
documentation for
integration
architecture
Example of a simple
frontend application
To-do List
app
Weather
app
Calculator Image
Slider
Validate skills, enhance
credibility, Stand out
from the competition,
Open doors to new
opportunities.
It showcases
experience, Highlights
problem-solving
abilities, Helps to
display initiative, build a
portfolio, Demonstrate
teamwork skills
Familiarize yourself
with system design
principles like
scalability, availability,
data consistency, and
security
In summary, we covered React forms, APIs, RESTful
APIs, HTTP methods (GET and POST), using Axios in
React, CRUD operations with APIs, and frontend-
backend integration. This knowledge enables you to
build dynamic web applications with seamless data
interaction and user experience.
Conclusion
ANY
QUESTIONS.??
+91 63834 53564
info@elewayte.com
www.elewayte.com
HSR Layout, Sector - 1, Bengaluru, KA
API & Backend Integration

More Related Content

What's hot

Introduction to Kong API Gateway
Introduction to Kong API GatewayIntroduction to Kong API Gateway
Introduction to Kong API GatewayYohann Ciurlik
 
Understanding REST APIs in 5 Simple Steps
Understanding REST APIs in 5 Simple StepsUnderstanding REST APIs in 5 Simple Steps
Understanding REST APIs in 5 Simple StepsTessa Mero
 
Building an API Security Strategy
Building an API Security StrategyBuilding an API Security Strategy
Building an API Security StrategySmartBear
 
API Security Best Practices & Guidelines
API Security Best Practices & GuidelinesAPI Security Best Practices & Guidelines
API Security Best Practices & GuidelinesPrabath Siriwardena
 
Rest API Security - A quick understanding of Rest API Security
Rest API Security - A quick understanding of Rest API SecurityRest API Security - A quick understanding of Rest API Security
Rest API Security - A quick understanding of Rest API SecurityMohammed Fazuluddin
 
REST APIs with Spring
REST APIs with SpringREST APIs with Spring
REST APIs with SpringJoshua Long
 
Apidays Paris 2023 - 7 Mistakes When Putting In Place An API Program, Francoi...
Apidays Paris 2023 - 7 Mistakes When Putting In Place An API Program, Francoi...Apidays Paris 2023 - 7 Mistakes When Putting In Place An API Program, Francoi...
Apidays Paris 2023 - 7 Mistakes When Putting In Place An API Program, Francoi...apidays
 
What is REST API? REST API Concepts and Examples | Edureka
What is REST API? REST API Concepts and Examples | EdurekaWhat is REST API? REST API Concepts and Examples | Edureka
What is REST API? REST API Concepts and Examples | EdurekaEdureka!
 
Microservice With Spring Boot and Spring Cloud
Microservice With Spring Boot and Spring CloudMicroservice With Spring Boot and Spring Cloud
Microservice With Spring Boot and Spring CloudEberhard Wolff
 

What's hot (20)

Deep-Dive: Secure API Management
Deep-Dive: Secure API ManagementDeep-Dive: Secure API Management
Deep-Dive: Secure API Management
 
Introduction to Kong API Gateway
Introduction to Kong API GatewayIntroduction to Kong API Gateway
Introduction to Kong API Gateway
 
Understanding REST APIs in 5 Simple Steps
Understanding REST APIs in 5 Simple StepsUnderstanding REST APIs in 5 Simple Steps
Understanding REST APIs in 5 Simple Steps
 
An Introduction To REST API
An Introduction To REST APIAn Introduction To REST API
An Introduction To REST API
 
Cloud Monitoring tool Grafana
Cloud Monitoring  tool Grafana Cloud Monitoring  tool Grafana
Cloud Monitoring tool Grafana
 
Ionic Framework
Ionic FrameworkIonic Framework
Ionic Framework
 
Building an API Security Strategy
Building an API Security StrategyBuilding an API Security Strategy
Building an API Security Strategy
 
API Security Best Practices & Guidelines
API Security Best Practices & GuidelinesAPI Security Best Practices & Guidelines
API Security Best Practices & Guidelines
 
RESTful API - Best Practices
RESTful API - Best PracticesRESTful API - Best Practices
RESTful API - Best Practices
 
How Secure Are Your APIs?
How Secure Are Your APIs?How Secure Are Your APIs?
How Secure Are Your APIs?
 
Api testing
Api testingApi testing
Api testing
 
Postman
PostmanPostman
Postman
 
Rest API Security - A quick understanding of Rest API Security
Rest API Security - A quick understanding of Rest API SecurityRest API Security - A quick understanding of Rest API Security
Rest API Security - A quick understanding of Rest API Security
 
Api Testing
Api TestingApi Testing
Api Testing
 
REST APIs with Spring
REST APIs with SpringREST APIs with Spring
REST APIs with Spring
 
Real-time ASP.NET with SignalR
Real-time ASP.NET with SignalRReal-time ASP.NET with SignalR
Real-time ASP.NET with SignalR
 
Apidays Paris 2023 - 7 Mistakes When Putting In Place An API Program, Francoi...
Apidays Paris 2023 - 7 Mistakes When Putting In Place An API Program, Francoi...Apidays Paris 2023 - 7 Mistakes When Putting In Place An API Program, Francoi...
Apidays Paris 2023 - 7 Mistakes When Putting In Place An API Program, Francoi...
 
Api types
Api typesApi types
Api types
 
What is REST API? REST API Concepts and Examples | Edureka
What is REST API? REST API Concepts and Examples | EdurekaWhat is REST API? REST API Concepts and Examples | Edureka
What is REST API? REST API Concepts and Examples | Edureka
 
Microservice With Spring Boot and Spring Cloud
Microservice With Spring Boot and Spring CloudMicroservice With Spring Boot and Spring Cloud
Microservice With Spring Boot and Spring Cloud
 

Similar to API & Backend Integration

Fundamentals of Web Development For Non-Developers
Fundamentals of Web Development For Non-DevelopersFundamentals of Web Development For Non-Developers
Fundamentals of Web Development For Non-DevelopersLemi Orhan Ergin
 
IRJET- Rest API for E-Commerce Site
IRJET- Rest API for E-Commerce SiteIRJET- Rest API for E-Commerce Site
IRJET- Rest API for E-Commerce SiteIRJET Journal
 
Components of a Generic Web Application Architecture
Components of  a Generic Web Application ArchitectureComponents of  a Generic Web Application Architecture
Components of a Generic Web Application ArchitectureMadonnaLamin1
 
Enterprise Software Architecture
Enterprise Software ArchitectureEnterprise Software Architecture
Enterprise Software Architecturerahmed_sct
 
Rest API Automation with REST Assured
Rest API Automation with REST AssuredRest API Automation with REST Assured
Rest API Automation with REST AssuredTO THE NEW Pvt. Ltd.
 
Webinar: Embracing REST APIs through APPSeCONNECT
Webinar: Embracing REST APIs through APPSeCONNECTWebinar: Embracing REST APIs through APPSeCONNECT
Webinar: Embracing REST APIs through APPSeCONNECTAPPSeCONNECT
 
4163A - What is Web 2.0.ppt
4163A - What is Web 2.0.ppt4163A - What is Web 2.0.ppt
4163A - What is Web 2.0.pptMatthew Perrins
 
REST: So What's It All About? (SAP TechEd 2011, MOB107)
REST: So What's It All About? (SAP TechEd 2011, MOB107)REST: So What's It All About? (SAP TechEd 2011, MOB107)
REST: So What's It All About? (SAP TechEd 2011, MOB107)Sascha Wenninger
 
Fullstack Interview Questions and Answers.pdf
Fullstack Interview Questions and Answers.pdfFullstack Interview Questions and Answers.pdf
Fullstack Interview Questions and Answers.pdfcsvishnukumar
 
IBM Integration Bus and REST APIs - Sanjay Nagchowdhury
IBM Integration Bus and REST APIs - Sanjay NagchowdhuryIBM Integration Bus and REST APIs - Sanjay Nagchowdhury
IBM Integration Bus and REST APIs - Sanjay NagchowdhuryKaren Broughton-Mabbitt
 
Apps 101 - Moving to the SharePoint 2013 App Model - Presented 7/27/13 at Sha...
Apps 101 - Moving to the SharePoint 2013 App Model - Presented 7/27/13 at Sha...Apps 101 - Moving to the SharePoint 2013 App Model - Presented 7/27/13 at Sha...
Apps 101 - Moving to the SharePoint 2013 App Model - Presented 7/27/13 at Sha...BlueMetalInc
 
Asp introduction
Asp introductionAsp introduction
Asp introductionSireesh K
 
college website project report
college website project reportcollege website project report
college website project reportMahendra Choudhary
 
API (Application program interface)
API (Application program interface)API (Application program interface)
API (Application program interface)Muhammad Jahanzaib
 
Community platform for job seekers | web application for job seekers | case s...
Community platform for job seekers | web application for job seekers | case s...Community platform for job seekers | web application for job seekers | case s...
Community platform for job seekers | web application for job seekers | case s...Mike Taylor
 
Connecting to Data from Windows Phone 8 VSLive! Redmond 2013
Connecting to Data from Windows Phone 8 VSLive! Redmond 2013Connecting to Data from Windows Phone 8 VSLive! Redmond 2013
Connecting to Data from Windows Phone 8 VSLive! Redmond 2013Woodruff Solutions LLC
 
Enterprise API New Features and Roadmap
Enterprise API New Features and RoadmapEnterprise API New Features and Roadmap
Enterprise API New Features and RoadmapSalesforce Developers
 

Similar to API & Backend Integration (20)

Fundamentals of Web Development For Non-Developers
Fundamentals of Web Development For Non-DevelopersFundamentals of Web Development For Non-Developers
Fundamentals of Web Development For Non-Developers
 
IRJET- Rest API for E-Commerce Site
IRJET- Rest API for E-Commerce SiteIRJET- Rest API for E-Commerce Site
IRJET- Rest API for E-Commerce Site
 
Components of a Generic Web Application Architecture
Components of  a Generic Web Application ArchitectureComponents of  a Generic Web Application Architecture
Components of a Generic Web Application Architecture
 
Switch to Backend 2023 | Day 1 Part 1
Switch to Backend 2023 | Day 1 Part 1Switch to Backend 2023 | Day 1 Part 1
Switch to Backend 2023 | Day 1 Part 1
 
Enterprise Software Architecture
Enterprise Software ArchitectureEnterprise Software Architecture
Enterprise Software Architecture
 
Rest API Automation with REST Assured
Rest API Automation with REST AssuredRest API Automation with REST Assured
Rest API Automation with REST Assured
 
Webinar: Embracing REST APIs through APPSeCONNECT
Webinar: Embracing REST APIs through APPSeCONNECTWebinar: Embracing REST APIs through APPSeCONNECT
Webinar: Embracing REST APIs through APPSeCONNECT
 
4163A - What is Web 2.0.ppt
4163A - What is Web 2.0.ppt4163A - What is Web 2.0.ppt
4163A - What is Web 2.0.ppt
 
Web API with ASP.NET MVC by Software development company in india
Web API with ASP.NET  MVC  by Software development company in indiaWeb API with ASP.NET  MVC  by Software development company in india
Web API with ASP.NET MVC by Software development company in india
 
REST: So What's It All About? (SAP TechEd 2011, MOB107)
REST: So What's It All About? (SAP TechEd 2011, MOB107)REST: So What's It All About? (SAP TechEd 2011, MOB107)
REST: So What's It All About? (SAP TechEd 2011, MOB107)
 
Fullstack Interview Questions and Answers.pdf
Fullstack Interview Questions and Answers.pdfFullstack Interview Questions and Answers.pdf
Fullstack Interview Questions and Answers.pdf
 
IBM Integration Bus and REST APIs - Sanjay Nagchowdhury
IBM Integration Bus and REST APIs - Sanjay NagchowdhuryIBM Integration Bus and REST APIs - Sanjay Nagchowdhury
IBM Integration Bus and REST APIs - Sanjay Nagchowdhury
 
Apps 101 - Moving to the SharePoint 2013 App Model - Presented 7/27/13 at Sha...
Apps 101 - Moving to the SharePoint 2013 App Model - Presented 7/27/13 at Sha...Apps 101 - Moving to the SharePoint 2013 App Model - Presented 7/27/13 at Sha...
Apps 101 - Moving to the SharePoint 2013 App Model - Presented 7/27/13 at Sha...
 
Asp introduction
Asp introductionAsp introduction
Asp introduction
 
college website project report
college website project reportcollege website project report
college website project report
 
Resume
ResumeResume
Resume
 
API (Application program interface)
API (Application program interface)API (Application program interface)
API (Application program interface)
 
Community platform for job seekers | web application for job seekers | case s...
Community platform for job seekers | web application for job seekers | case s...Community platform for job seekers | web application for job seekers | case s...
Community platform for job seekers | web application for job seekers | case s...
 
Connecting to Data from Windows Phone 8 VSLive! Redmond 2013
Connecting to Data from Windows Phone 8 VSLive! Redmond 2013Connecting to Data from Windows Phone 8 VSLive! Redmond 2013
Connecting to Data from Windows Phone 8 VSLive! Redmond 2013
 
Enterprise API New Features and Roadmap
Enterprise API New Features and RoadmapEnterprise API New Features and Roadmap
Enterprise API New Features and Roadmap
 

More from Elewayte

Cyber Security Threats Unveilded
Cyber Security Threats UnveildedCyber Security Threats Unveilded
Cyber Security Threats UnveildedElewayte
 
Cracking Interview: The Ultimate Cheat Sheet on Soft Skills
Cracking Interview: The Ultimate Cheat Sheet on Soft SkillsCracking Interview: The Ultimate Cheat Sheet on Soft Skills
Cracking Interview: The Ultimate Cheat Sheet on Soft SkillsElewayte
 
Demystifying Data Science using Python
Demystifying Data Science using PythonDemystifying Data Science using Python
Demystifying Data Science using PythonElewayte
 
Node.js & Express.js Unleashed
Node.js & Express.js UnleashedNode.js & Express.js Unleashed
Node.js & Express.js UnleashedElewayte
 
From Flexbox to Hooks
From Flexbox to HooksFrom Flexbox to Hooks
From Flexbox to HooksElewayte
 
Elewayte Cloud Computing Advancements
Elewayte Cloud Computing AdvancementsElewayte Cloud Computing Advancements
Elewayte Cloud Computing AdvancementsElewayte
 
Introduction to 32-Bit Embedded System
Introduction to 32-Bit Embedded SystemIntroduction to 32-Bit Embedded System
Introduction to 32-Bit Embedded SystemElewayte
 
Web Content Management System
Web Content Management SystemWeb Content Management System
Web Content Management SystemElewayte
 
Design Thinking & Back-End Architecture
Design Thinking & Back-End ArchitectureDesign Thinking & Back-End Architecture
Design Thinking & Back-End ArchitectureElewayte
 
Leveraging the Power of Web Development in Digital Marketing
Leveraging the Power of Web Development in Digital MarketingLeveraging the Power of Web Development in Digital Marketing
Leveraging the Power of Web Development in Digital MarketingElewayte
 
The Ultimate Power Bi Tutorial | Elewayte
The Ultimate Power Bi Tutorial | ElewayteThe Ultimate Power Bi Tutorial | Elewayte
The Ultimate Power Bi Tutorial | ElewayteElewayte
 
Introduction to Basics of Python
Introduction to Basics of PythonIntroduction to Basics of Python
Introduction to Basics of PythonElewayte
 

More from Elewayte (12)

Cyber Security Threats Unveilded
Cyber Security Threats UnveildedCyber Security Threats Unveilded
Cyber Security Threats Unveilded
 
Cracking Interview: The Ultimate Cheat Sheet on Soft Skills
Cracking Interview: The Ultimate Cheat Sheet on Soft SkillsCracking Interview: The Ultimate Cheat Sheet on Soft Skills
Cracking Interview: The Ultimate Cheat Sheet on Soft Skills
 
Demystifying Data Science using Python
Demystifying Data Science using PythonDemystifying Data Science using Python
Demystifying Data Science using Python
 
Node.js & Express.js Unleashed
Node.js & Express.js UnleashedNode.js & Express.js Unleashed
Node.js & Express.js Unleashed
 
From Flexbox to Hooks
From Flexbox to HooksFrom Flexbox to Hooks
From Flexbox to Hooks
 
Elewayte Cloud Computing Advancements
Elewayte Cloud Computing AdvancementsElewayte Cloud Computing Advancements
Elewayte Cloud Computing Advancements
 
Introduction to 32-Bit Embedded System
Introduction to 32-Bit Embedded SystemIntroduction to 32-Bit Embedded System
Introduction to 32-Bit Embedded System
 
Web Content Management System
Web Content Management SystemWeb Content Management System
Web Content Management System
 
Design Thinking & Back-End Architecture
Design Thinking & Back-End ArchitectureDesign Thinking & Back-End Architecture
Design Thinking & Back-End Architecture
 
Leveraging the Power of Web Development in Digital Marketing
Leveraging the Power of Web Development in Digital MarketingLeveraging the Power of Web Development in Digital Marketing
Leveraging the Power of Web Development in Digital Marketing
 
The Ultimate Power Bi Tutorial | Elewayte
The Ultimate Power Bi Tutorial | ElewayteThe Ultimate Power Bi Tutorial | Elewayte
The Ultimate Power Bi Tutorial | Elewayte
 
Introduction to Basics of Python
Introduction to Basics of PythonIntroduction to Basics of Python
Introduction to Basics of Python
 

Recently uploaded

Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfngoud9212
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 

Recently uploaded (20)

Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdf
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 

API & Backend Integration

  • 1. A Journey into React Forms, APIs, Axios, and CRUD Operations Robin Sinha MERN Trainer,
  • 2. • Creating Basic Forms in React • RESTful APIs and CRUD Operations • Axios Requests and Frontend Integration
  • 3. • React forms are an essential part of web development, allowing users to input and submit data. • They provide a way to collect information from users and interact with the backend. • React forms enable creating dynamic and interactive user interfaces.
  • 4. • State is managed by React. • Form input values are stored in the component's state and updated through event handlers. • Provides a single source of truth for form data. • Allows for validation and manipulation of user input. FORM INPUTS CONTROLLED COMPONENTS • State is managed by the DOM. • Form input values are accessed directly from the DOM using refs. • Typically used when form validation is not required or handled by external libraries. • Can be simpler to implement for basic forms. UNCONTROLLED COMPONENTS
  • 5. <input type = "text"/> Elewayte <input type = "text" value = "Elewayte"/> Elewayte CONTROLLED COMPONENTS UNCONTROLLED COMPONENTS Example
  • 6. APIs (Application Programming Interface APIs are mechanisms that enable two software components to communicate with each other using a set of definitions and protocols.
  • 7. API call is initiated by the client application via a HTTP request. API generates a response containing the requested data or performs the requested action. Client processes the API response to extract data or trigger further actions.
  • 8. RESTful APIs • REST (Representational State Transfer) is an architectural style for designing networked applications. • RESTful APIs follow the principles of REST and provide a stateless, scalable, and uniform approach to API development.
  • 9. Fetching information from a database or external service. Submitting new data or updating existing data. Connecting with services like payment gateways or social media platforms.
  • 10. HTTP Request Methods The Hypertext Transfer Protocol (HTTP) is designed to enable communications between clients and servers. Example: A client (browser) sends an HTTP request to the server; then the server returns a response to the client. The response contains status information about the request and may also contain the requested content.
  • 11. • Used for retrieving data from a server. • Examples: fetching a user's profile, retrieving a list of products, getting weather data. • GET requests are typically safe, as they should not modify server data. • Parameters can be included in the URL or as query parameters. • Response data is returned in the body of the HTTP response. • Used for sending data to a server to create or update resources. • Examples: submitting a form, creating a new user, adding a comment. • POST requests can modify server data. • Data is sent in the body of the HTTP request, typically in JSON or form-urlencoded format. • Response may contain the newly created resource or a confirmation message.
  • 13. It provides a simple and intuitive API for handling AJAX requests in React and other JavaScript frameworks. Axios is a popular JavaScript library used for making HTTP requests from the browser.
  • 14. Axios supports all modern browsers and provides consistent behavior for HTTP requests. It offers features like interceptors, automatic JSON parsing, and error handling. Axios simplifies the process of making asynchronous requests and handling responses.
  • 16. Axios provides a convenient way to make HTTP requests and interact with backend APIs to perform CRUD operations. Each CRUD operation corresponds to a specific HTTP method: POST for Create, GET for Read, PUT for Update, and DELETE for Delete. Axios allows us to send these HTTP requests to the appropriate API endpoints.
  • 18. Front-end development, also known as web integration or client side development is the process of using HTML, CSS, Javascript, and other languages to build efficient and usable websites, web applications and mobile apps. Frontend Integration
  • 19. Breakdown of frontend applications into reusable modules Implementation of consistent communication patterns Utilizing version control systems Robust mechanisms to handle exceptions gracefully Comprehensive documentation for integration architecture
  • 20. Example of a simple frontend application To-do List app Weather app Calculator Image Slider
  • 21.
  • 22. Validate skills, enhance credibility, Stand out from the competition, Open doors to new opportunities. It showcases experience, Highlights problem-solving abilities, Helps to display initiative, build a portfolio, Demonstrate teamwork skills Familiarize yourself with system design principles like scalability, availability, data consistency, and security
  • 23. In summary, we covered React forms, APIs, RESTful APIs, HTTP methods (GET and POST), using Axios in React, CRUD operations with APIs, and frontend- backend integration. This knowledge enables you to build dynamic web applications with seamless data interaction and user experience. Conclusion
  • 25. +91 63834 53564 info@elewayte.com www.elewayte.com HSR Layout, Sector - 1, Bengaluru, KA