Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
node.jsのマイクロフレームワークでmysqlを触る
Search
naka
January 28, 2024
2
31
node.jsのマイクロフレームワークでmysqlを触る
naka
January 28, 2024
Tweet
Share
Featured
See All Featured
Raft: Consensus for Rubyists
vanstee
137
6.8k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
29
1k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
27
1.9k
GraphQLの誤解/rethinking-graphql
sonatard
68
10k
jQuery: Nuts, Bolts and Bling
dougneiner
63
7.6k
Producing Creativity
orderedlist
PRO
344
39k
Embracing the Ebb and Flow
colly
84
4.6k
Building Applications with DynamoDB
mza
93
6.2k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
2.1k
Transcript
node.js DB
express Express Web ・ 一 小 Node.js Web ・ 用
・ 小 ・ 自 GET/POST ・ Node.js
・ ・ ・ HTTP GET POST URL 用 EJS Pug
HTML 生
express 入 npm init npm install express npm install nodemon
nodejs express npm list ΠϯετʔϧͰ͖͔ͨ֬ೝ
KTϑΝΠϧΛ࡞͠ɺҎԼͷίʔυΛ࣮͢Δ OPEFUFTUKTͰ࣮ߦ͢Δ ϒϥβΛ։͍ͯMPDBMIPTUʹΞΫηε͢Δ
ίʔυΛม͑ͨͱ͖ʹɺ͍͍ͪͪαʔόΛࢭΊΔͷ͕໘ͳͷͰ ͖ͬ͞ೖΕͨOPEFNPOΛ͏ npx nodemon test.js ͜ͷίϚϯυͰ࣮ߦͨ͠Βɺอଘ͢Δͨͼʹࣗಈతʹαʔό͕࠶ىಈ͞ΕΔ
1045ϦΫΤετΛड͚ͨ࣌ͷίʔυΛ࣮͢Δ QPTUNBOΛىಈͯ͠ MPDBMIPTUʹΞΫηεͯ͠ΈΔ
None
None
mySQL 入 npm install mysql mysql
mySQL
mySQL
mySQL
.Z42- OPEFKTNZTRMʹଓͯ͠JOTFSUΛ࣮ߦ͢Δ IUUQTNFCFFJOGPQPTU ʲ/PEFKTೖʳ.Z42-Λͬͨσʔλϕʔεૢ࡞ํ๏·ͱΊʂ IUUQTXXXTFKVLVOFUCMPH /PEFKTΞϓϦέʔγϣϯͱ.Z42-Λଓ͠Α͏ʂ IUUQTQSPHDPNEPDTOPEFKTNZTRM FYQSFTT ʲ/PEFKTೖʳॳ৺ऀͷͨΊͷ&YQSFTTೖʢ(&51045ʣ IUUQTXXXTFKVLVOFUCMPH
FYQSFTTͰ.7$ </PEFKT>/PEFKT &YQSFTTͰ.7$ͬΆ͘ॻ͍ͯΈΔ IUUQTTXBMMPXJODVCBUFDPNBSDIJWFTCMPH