Giter Site home page Giter Site logo

makhee.github.iot's Introduction

일자별 교육 계획

1일차

2일차

3일차


1. 리액트 개념

  • Front Framework

    ReatJS 를 바탕으로 앱으로 개발하기 위해 나온 환경이 React-Native

  • React-Native : 2세대 하이브리드 앱

    • 1세대 : 웹뷰 기반 + (html+css+JS) 결합하여 구성 폰갭, 코르도바, 아이오닉(2세대로보기도함)등등
    • 2세대 : react-native
    • 3세대 : flutter (https://flutter.dev) dart 언어로 개발(구글)

2. 개발 환경 구축

3. 기본 프로젝트 생성 및 구동

  • 터미널 오픈
  • 메인 프로젝트 폴더 위치에서 프로젝트 생성
        $ expo init hello
        ================================================
        ? Choose a template: (Use arrow keys)
        ----- Managed workflow -----
        > blank         minimal dependencies to run and an empty root component 
        tabs          several example screens and tabs using react-navigation
        ----- Bare workflow -----
        bare-minimum  minimal setup for using unimodules
        ================================================
        
        $ blank 선택
        
        ================================================
        ? Please enter a few initial configuration values.
        Read more: https://docs.expo.io/versions/latest/workflow/configuration/ » 100% completed
        {
            "expo": {
            "name": "앱의 이름",
            "slug": "hello"
            }
        }
        ================================================
        
        $ cd hello
        $ npm start
   
  • 사이트에 프로젝트 관리 페이지 자동 오픈
  • 애뮬레이터를 구동
  • 사이트에서 Run On Android 선택하여 App build 확인

4. React-Native 기본 프로젝트 구조

        hello
            ┗ .expo                  : 프로젝트 관련 파일
            ┗ packager-info.json
            ┗ settings.json
            ┗ assets                 : 리소스
            ┗ node_modules           : 모듈
            ┗ *
            ┗ .gitignore             : git ignore 리스트
            ┗ .watchmanconfig
            ┗ App.js                 : 실제 작성 코드(리액트네이티브로 구성)
            ┗ app.json               : 프로젝트 자체 기술 파일
                                       배포를 위해 아래 내용 추가 및 수정
                                       ====================
                                       "ios": {
                                       "supportsTablet": true,
                                       "bundleIdentifier":"com.example.hello"
                                       },
                                       "android": {
                                       "package":"com.example.hello"
                                       }
                                       ====================
            ┗ babel.coifig.js        : 리액트 코드를 호환 코드로 변환
            ┗ package-lock.json      : npm install이 진행되면 자동 생성
            ┗ package.json           : 구동에 필요한 패키지가 상세 기술
                                       npm install --save 패키지명을 실행하면 자동으로 추가됨
   

5. 배포

  • android studio > build > generater signed bundle > key 생성
  • expo build:android > expo 로그인 > 빌드 완료 > 생성된 url로 스토어 업로드 https://bit.ly/2Tjp0aa

makhee.github.iot's People

Contributors

fzl7808777 avatar makhee avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.