Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
CloudflareでつくるサーバーレスCRUD
Search
shiro seike
PRO
April 28, 2023
Technology
1
140
CloudflareでつくるサーバーレスCRUD
Cloudflare Meetup Okinawa Kick Off!での発表資料です
https://cfm-cts.connpass.com/event/277590
shiro seike
PRO
April 28, 2023
Tweet
Share
More Decks by shiro seike
See All by shiro seike
歴史から学ぶ「Why PHP?」 PHPを書く理由を改めて理解する / Learning from History: “Why PHP?” Rediscovering the Reasons for Writing PHP
seike460
PRO
0
200
Team-First Serverless Platform Engineering Approach to PHP Applications with Laravel and Bref
seike460
PRO
0
31
なぜ適用するか、移行して理解するClean Architecture 〜構造を超えて設計を継承する〜 / Why Apply, Migrate and Understand Clean Architecture - Inherit Design Beyond Structure
seike460
PRO
3
920
生成AIコーディングとの向き合い方、AIと共創するという考え方 / How to deal with generative AI coding and the concept of co-creating with AI
seike460
PRO
1
450
地方のPHPerもクラウドを使う理由 ~コストの最適化とチームに向き合う~ / Why even local PHPers use the cloud ~optimize costs and face the team
seike460
PRO
0
80
OpenTelemetryで始めるベンダーフリーなobservability / Vendor-free observability starting with OpenTelemetry
seike460
PRO
0
220
AIコーディングの本質は“コード“ではなく“構造“だった / The essence of AI coding is not “code” but "structure
seike460
PRO
2
1.3k
OpenTelemetryを活用したObservability入門 / Introduction to Observability with OpenTelemetry
seike460
PRO
1
900
Amazon Q Developer Proで効率化するAPI開発入門
seike460
PRO
0
450
Other Decks in Technology
See All in Technology
Bakuraku Engineering Team Deck
layerx
PRO
11
5.6k
小さな判断で育つ、大きな意思決定力 / 20251204 Takahiro Kinjo
shift_evolve
PRO
1
290
なぜ使われないのか?──定量×定性で見極める本当のボトルネック
kakehashi
PRO
1
750
Modern Data Stack大好きマンが語るSnowflakeの魅力
sagara
0
270
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
5
47k
DGX SparkでローカルLLMをLangChainで動かした話
ruzia
1
260
.NET 10 のパフォーマンス改善
nenonaninu
2
4.7k
How native lazy objects will change Doctrine and Symfony forever
beberlei
1
380
freeeにおけるファンクションを超えた一気通貫でのAI活用
jaxx2104
3
590
eBPFとwaruiBPF
sat
PRO
1
580
バグハンター視点によるサプライチェーンの脆弱性
scgajge12
2
420
All About Sansan – for New Global Engineers
sansan33
PRO
1
1.3k
Featured
See All Featured
4 Signs Your Business is Dying
shpigford
186
22k
Become a Pro
speakerdeck
PRO
30
5.7k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
61k
GraphQLとの向き合い方2022年版
quramy
49
14k
Code Review Best Practice
trishagee
73
19k
Producing Creativity
orderedlist
PRO
348
40k
Stop Working from a Prison Cell
hatefulcrawdad
273
21k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.8k
Unsuck your backbone
ammeep
671
58k
Building Flexible Design Systems
yeseniaperezcruz
329
39k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
8.3k
Fireside Chat
paigeccino
41
3.7k
Transcript
Cloudflare CRUD Cloudflare Meetup Okinawa Kick Off! 2 0 23
. 4 . 27 @seike 4 60 1
@seike 460 - - @seike 46 0 - Fusic -
/ - / / - - Fukuoka.php - Fukuoka.go - Serverless Meetup Fukuoka - Stripe_JP Fukuoka - Cloudflare Meetup Fukuoka 2
Cloudflare Meetup Fukuoka Vol. 1 3 2023/07/14( ) 19:00 21:00
Fusic Cloudflare Meetup Fukuoka Vol. 1
Agenda 1 .Cloudflare 2 . 3 . 4 . 4
01 Cloudflare
Cloudflare っCDN (Content Delivery Network) っDNS (Domain Name System) っDDoS
っWAF (Web Application Firewall) っ (Cloudflare Workers) っ (Cloudflare Pages) 6
02
8
9
Cloudflare Meetup Okinawa Kick Off! 10
Cloudflare CRUD Cloudflare CRUD っCloudflare Pages っCloudflare Workers っCloudflare Workers
D 1 SQL っCI/CD GitHub Actions CI Cloudflare CD 11
Cloudflare Pages - Jamstack - - SSL - -
- Git - 12
Cloudflare Workers JavaScript WebAssembly - - - - Pages Functions
D 1 Workers 13
Cloudflare Workers D 1 SQL - & - SQLite -
Cloudflare Workers 14
CI/CD (Cloudflare Pages) GitHub Actions CI Cloudflare CD GitHub Actions
CD Cloudflare 15
16
03
04
Hono.js HonoJS Cloudflare Workers API SvelteKit
19
Hono Examples https://github.com/honojs/examples Examples Blog KV D 1 Database 20
src/api.ts (select) 21 api.get (`URL`) Routing Api.get Model
src/model.ts (select) 22 D 1 Database Query API
src/api.ts (Insert) 23 api.post (`URL`) Post Post Body Model
src/model.ts (Insert) 24 Post Body Insert ID UUID
25 HonoJS D 1 Database R 2
SQL 26 ORM Prisma Node.js Node.js API 2023/03/23) Prisma
04
28 Cloudflare Pages Point 1 Cloudflare Workers D 1 SQL
Point 2 HonoJS Sample HonoJS Point 3 Cloudflare R 2 Prisma ORM ORM Point 4
Thank You We are Hiring ! https://recruit.fusic.co.jp/