
개발/Node.js2024. 10. 21. 11:50프로젝트 생성(package.json)
1. 프로젝트 생성본인이 원하는 프로젝트 이름의 폴더 생성하고 VSC를 사용하여 해당 폴더를 오픈프로젝트 폴더에 git repository(.git)를 생성View > Terminal 또는 Ctrl + `을 사용하여 터미널 화면 오픈(Git bash 사용)git init(저장소 생성)github에서 New repository 생성다시 VSC Terminal에서git remote add origin https://github.com/본인계정/저장소명npm init{ "name": "프로젝트명", "version": "1.0.0", "description": "원하는 내용작성", "main": "index.js", "repository": { "type": "git", "url": "gi..