Generation

generate functionMon, 13 Feb 2023

node.jsとexpressでサーバーを起動する

const express = require('express') const app = express() const port = 3000 app.get('/', (req, res) => res.send('Hello World!')) app.listen(port, () => console.log(`Example app listening at http://localhost:${port}`))

Javascript
Generate More

Questions about programming?Chat with your personal AI assistant