Skip to Content
For Enterprise
For Government
For Higher Ed
For Individuals
For Marketing
For Enterprise
For Government
For Higher Ed
For Individuals
For Marketing
Explore Skills
Cloud Computing
Microsoft Azure
Amazon Web Services (AWS)
Google Cloud
Cloud Migration
Cloud Deployment
Cloud Platforms
Data Engineering
Data Warehouse
SQL
Apache Spark
Microsoft SQL Server
MySQL
Kafka
Data Lake
Streaming & Messaging
NoSQL Databases
Relational Databases
Data Science
Pandas
R
MATLAB
SAS
D3
Power BI
Tableau
Statistics
Exploratory Data Analysis
Data Visualization
AI & ML
Generative AI
Machine Learning
Artificial Intelligence (AI)
Deep Learning
Reinforcement Learning
Natural Language Processing
TensorFlow
Scikit-Learn
Hyperparameter Tuning
MLOps
Programming Languages
Java
JavaScript
Spring
Python
Go
C#
C++
C
Swift
Rust
Functional Programming
Software Architecture
Object-Oriented
Distributed Systems
Domain-Driven Design
Architectural Patterns
IT/Ops
Kubernetes
Docker
GitHub
Terraform
Continuous Delivery
Continuous Integration
Database Administration
Computer Networking
Operating Systems
IT Certifications
Security
Network Security
Application Security
Incident Response
Zero Trust Model
Disaster Recovery
Penetration Testing / Ethical Hacking
Governance
Malware
Security Architecture
Security Engineering
Security Certifications
Design
Web Design
Graphic Design
Interaction Design
Film & Video
User Experience (UX)
Design Process
Design Tools
Business
Agile
Project Management
Product Management
Marketing
Human Resources
Finance
Team Management
Business Strategy
Digital Transformation
Organizational Leadership
Soft Skills
Professional Communication
Emotional Intelligence
Presentation Skills
Innovation
Critical Thinking
Public Speaking
Collaboration
Personal Productivity
Confidence / Motivation
Features
All features
Verifiable skills
AI Academy
Courses
Certifications
Interactive learning
Live events
Superstreams
Answers
Insights reporting
Radar Blog
Buy Courses
Plans
Sign In
Try Now
O'Reilly Platform
book
풀스택 서버리스: 리액트, AWS, 그래프QL을 이용한 최신 애플리케이션 개발
by
김범준
,
네이더 다빗
July 2021
Beginner to intermediate
216 pages
4h 26m
Korean
Hanbit Media, Inc.
Content preview from
풀스택 서버리스: 리액트, AWS, 그래프QL을 이용한 최신 애플리케이션 개발
150
풀스택 서버리스
호작용합니다.
API
클래스를 사용하면
API
이름과 경로
(
/
products
)
를 사용하여
get
,
put
,
post
및
delete
같은 요청을 할 수 있습니다.
Admin
컴포넌트에서는 전송하려는 데이터를
body
에 포함해서 객체로 생성하고
API
.
post
호
출을 통해 전달합니다.
// 요청과 함께 전달할 객체 생성
const data = {
body: { ...itemInfo, price: parseInt(itemInfo.price) }
}
// 초기 상태로 로컬 상태를 수정하여 양식을 초기화
updateItemInfo(initialState)
// API.post 호출
await API.post('ecommerceapi', '/products', data)
7.6.7
Main
컴포넌트
마지막 컴포넌트는 항목을 렌더링하는
Main
컴포넌트입니다.
이 컴포넌트에는 두 가지 주요 함수로
getProducts
와
deleteItem
가 있습니다.
getProducts
1
.
API
.
get
을 호출합니다. 데이터가 반환되면
API
에서 반환된 데이터로
state
의
products
배열을 업
데이트합니다.
deleteItem
1
.
삭제할 항목의
id
를 이용해서 삭제할 항목을 제외한
products
배열을 생성합니다.
2
.
생성된
products
배열은 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial
You might also like
실전 시계열 분석: 통계와 머신러닝을 활용한 예측 기법
박찬성, 에일린 닐슨
실전 자바 소프트웨어 개발: 4가지 프로젝트로 배우는 최신 자바 개발 기법
우정은, 라울-게이브리얼 우르마, 리처드 워버턴
자바로 배우는 핵심 자료구조와 알고리즘: 기술 면접에 필요한 실용주의 자료구조와 알고리즘
유동환, 앨런 B. 다우니
웹 애플리케이션 보안: 정찰, 공격, 방어 세 단계로 배우는 웹 애플리케이션 보안의 모든 것
최용, 앤드루 호프먼
Publisher Resources
ISBN: 9791162244487