1. Repository 생성

2. 로컬 컴퓨터에 생성된 repository 를 내려받는다

git clone {ssh 주소}
cd {repository 이름}
code .

3. 프로젝트 셋팅

npm init
npm install express

4. 기본 웹서버 실행

const express = require('express');

const app = express();
const port = 3000;

app.listen(port, () => {
    console.log(port, '포트로 서버가 열렸어요!');
});

5. 튜터가 요청한 API Routing 만들기

// 예)
app.get('/test', (req, res) => {
  res.send('테스트 페이지 입니다')
})

app.post('/post-test', (req, res) => {
  res.send('post 테스트 페이지 입니다')
})

6. 로컬 기본 작업 내역을 github 에 반영

git add -A
git commit -am "첫커밋"
git push origin main