Git 웹사이트에서 저장소를 생성한다.

git clone https://github.com/mrw0119/test
cd test
npm init -y (프로젝트 기본값 생성)

npm install express


const express = require('express');
const app = express();
const port = 3000;
app.get('/', (req, res) => {
res.send(`Hello World!`);
});
app.listen(port, () => {
console.log(`App listening on port ${port}`);
});


git add .
git commit -m "Hello World"
git push origin main

git config --global user.name "mrw0119"
git config --global user.email mrw0119@gmail.com
git config --global credential.helper store
git config --list

git clone https://github.com/mrw0119/test
cd test
npm install
node app.js





