Git Product home page Git Product logo

covid-19-dashboard's Introduction

코로나 세계 현황판 만들기

Javascript로 만든 코로나 세계 현황판을 Typescript로 변환하는 프로젝트

링크 시연 화면

자바스크립트 프로젝트에 타입스크립트 적용하기

  1. 자바스크립트 파일에 JSDoc으로 타입 시스템 입히기 (Optional)
  2. 타입스크립트의 기본 환경 구성
    • NPM 초기화 (npm init-y)
    • 타입스크립트 라이브러리 설치 (npm i typescipt -D)
    • 타입스크립트 설정 파일 생성 (tsconfig.json 파일 생성)
    • 자바스크립트 파일을 타입스크립트 파일로 변환하기 (파일 확장자 변경)
    • tsc명령어로 타입스크립트 compile하기
  3. 명시적인 any 선언하기
    • tsconfig.json파일에 noImplicitAny값을 true로 추가
    • 가능한 구체적인 타입으로 타입 정의
  4. 프로젝트 환경 구성
    • babel, eslint, prettier 등의 환경 설정
  5. 외부 라이브러리 모듈화
    • axios 라이브러리 설치 및 load
    • Chart.js라이브러리 설치 및 load

기술

  • Javascript
  • Typescript
  • axios
  • chart.js
  • eslint

개발 환경

참고 api

참고 자료

covid-19-dashboard's People

Contributors

adc0612 avatar

Watchers

 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.