Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | ||||
| 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 11 | 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 | 24 |
| 25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- hadoop
- Java
- Express
- Spring
- 공정능력
- Eclipse
- JavaScript
- plugin
- Python
- Sqoop
- mybatis
- table
- xPlatform
- SSL
- IntelliJ
- react
- es6
- Android
- 보조정렬
- Kotlin
- mapreduce
- MSSQL
- SQL
- GIT
- NPM
- window
- tomcat
- SPC
- R
- vaadin
Archives
- Today
- Total
반응형
목록Server (1)
DBILITY
node express server basic
intellij를 사용해서 JavaScript->Node.js 프로젝트를 생성하면 npm init가 자동 실행된다. Terminal을 열어 npm install express를 설치하고, nodemon도 설치해 준다. 다음은 express서버의 기초 코드로 nodemon server.js로 실행했다. const express = require('express'); const app = express(); const port = process.env.PORT || 9090; app.listen(port, () => { console.log(`this server is listening port ${port}`); }); app.get('/hello',(req,res)=>{ //res.json({messag..
nodejs
2021. 12. 15. 11:08
반응형