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 |
Tags
- W3Schools
- loop
- dfs
- Material
- Unreal Engine 5
- w3school
- github
- Programming
- dynamic
- python
- 백준
- Basic
- 시작해요 언리얼 2022
- c++
- guide
- 문제풀이
- 오류
- UE5
- Unity
- Class
- 기초
- 프로그래밍
- C#
- String
- 파이썬
- DP
- Tutorial
- 재귀
- Algorithm
- parameter
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