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
- github
- Tutorial
- Class
- UE5
- DP
- 재귀
- Basic
- W3Schools
- 오류
- dfs
- python
- dynamic
- C#
- guide
- Programming
- String
- c++
- parameter
- 기초
- Algorithm
- 시작해요 언리얼 2022
- w3school
- 파이썬
- Unreal Engine 5
- loop
- 백준
- Unity
- 프로그래밍
- 문제풀이
- Material
Archives
- Today
- Total
목록Unity NodeJS (1)
행복한 개구리
일단 웹서버와 통신을 하는 것이기 때문에 NodeJS로 웹서버를 만들자. const express = require("express"); const app = express(); app.use(express.json()); let users = {}; app.listen(3030, ()=> { console.log("3030포트에서 대기중..."); }); app.get("/", (req,res)=> { res.send("Hello RESTAPI"); }); app.post("/score",(req,res)=> { const {id, score} = req.body; users[id] = score; console.log(users); res.status(200).end(); }); users를 객체로 ..
Unity/수업내용
2021. 7. 27. 10:49