-
Node.js 개발 환경 구축 및 프로젝트 생성 (Backend)개발/React Native 2019. 8. 28. 23:20
Node.js 프로젝트 생성을 위해서는 아래와 같은 환경 구성이 필요하다.
1. Node.js 설치
Node.js
Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.
nodejs.org
2. Yarn 설치
Yarn
Fast, reliable, and secure dependency management.
yarnpkg.com
Mac의 경우, Yarn 설치 전 Brew 설치가 필요하며 관련 내용은 아래에서 확인할 수 있다.
https://whitepaek.tistory.com/3
Homebrew(홈브류) 설치 및 사용법, MacOS에서 프로그램을 쉽게 다운로드 및 삭제할 수 있는 패키지 관리자
Homebrew 설치 및 사용법 macOS를 새롭게 구입 또는 클린 설치를 하고 나서 가장 먼저 설치하는 MacOS 용 패키지 관리자입니다! 많은 맥 유저분들이 아직 Homebrew를 터미널에서 사용하는 방식이 익숙하지 않아서..
whitepaek.tistory.com
3. Git repository 생성
불러오는 중입니다... - Add .gitignore: Node 설정 Node.js 프로젝트에서 업로드 불필요한 항목들을 자동으로 정의
- Initialize this repository with a README 활성화
4. Node 프로젝트 생성
> yarn init
5. Dependency Module 설치
> yarn add graphql-yoga > yarn add nodemon > yarn add babel-cli
여기까지하면 React-native 프로젝트를 위한 Backend 환경이 마무리 된다. (진짜?)
'개발 > React Native' 카테고리의 다른 글
iOS용 App으로 배포하기 (0) 2020.02.16 React native 빌드 환경 설정 (No Expo) (1) 2019.09.03 SVG 파일을 PNG로 변환하기 (0) 2019.08.27 (React Native) Expo-Facebook/Google 계정 연동 (0) 2019.07.07 Node.js 의 모듈 가져오기 (Import/Export) (0) 2019.06.08