윤성아

initial commit

1 +const express = require('express');
2 +const app = express();
3 +const port = 3000;
4 +
5 +app.get('/', (req, res) => {
6 + res.send('hello world!');
7 +});
8 +
9 +app.listen(port, () => console.log(`Server is running on port ${port}`));
...\ No newline at end of file ...\ No newline at end of file
This diff is collapsed. Click to expand it.
1 +{
2 + "name": "sweetday-dessert-chatbot",
3 + "version": "1.0.0",
4 + "description": "Chatbot based on Express.js, Line API",
5 + "main": "app.js",
6 + "scripts": {
7 + "start": "node app.js",
8 + "start:dev": "nodemon app.js",
9 + "start:prod": "pm2 app.js",
10 + "test": "echo \"Error: no test specified\" && exit 1"
11 + },
12 + "repository": {
13 + "type": "git",
14 + "url": "http://khuhub.khu.ac.kr/2020105581/DessertChatbot.git"
15 + },
16 + "keywords": [
17 + "nodejs",
18 + "expressjs",
19 + "line",
20 + "chatbot"
21 + ],
22 + "author": "윤성아",
23 + "license": "MIT",
24 + "dependencies": {
25 + "express": "^4.17.1"
26 + }
27 +}