Skip to content
프로젝트

CodingTrain/Intro-to-Data-APIs-JS

GitHub에서 보기

소개

JavaScript에서 데이터와 API 다루기

개발 도구

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
-1
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Working with Data and APIs in JavaScript

This document is an outline for the Coding Train playlist: "Working with Data and APIs in JavaScript"

Description

This course is for aspiring developers who want to learn how to work with data in web applications. How do you retrieve, collect, and store data? The course will be taught through a series of creating three data projects. The first will be client-side only and examine how to load data with fetch() and present on a web page. Viewers will learn about handling asynchronous events with Promises and how to render data to the DOM as well as a draw to HTML5 canvas with p5.js. The second and third project will introduce "full stack" development adding server-side programming with node.js for data persistence and API authentication.

Introduction

  1. Course Trailer (~1-minute overview)
  2. Full introduction -- overview of topics, goals for the course
  3. What do I need to know to go to tutorial 1?

Module 1: fetch() with image, CSV, JSON

1a: fetch()

  1. What is fetch()?

1b: Tabular Data

  1. Parsing CSV with split()
  2. Line chart with chart.js

1c: JSON Data from API

  1. load JSON data with fetch() and update DOM element.
  2. Add map to page with Leaflet.js and place ISS location as marker.
  3. Updating location continuously with setInterval().

Objectives

  1. Learn fetch() for GET requests with Promises and async/await
    • See loading data from local image / JSON / CSV
  2. Learn to "render" data with native JS DOM manipulation
  3. Discover missing pieces: no persistence, API keys not hidden

Module 2: The Data Selfie App

The Data Selfie App is a project tutorial by @joeyklee.

Videos

  1. What is node, npm, and express? Setting up a server to host static pages.
  2. Accessing GeoLocation with navigator.geolocation.
  3. What is a POST? Sending data to the server.
  4. What is a database? Saving data to NeDB.
  5. Retrieving data from NeDB with a "RESTian" route.
  6. Adding capture and images with p5.
  7. Next steps/exercise?

Objectives

  1. Learn the basics of server-side programming with Node (and express?)
  2. Learn how to save data to a database with NedB.
    • show just plain array
    • show flat file
    • introduce the idea of the database
  3. Learn how to use fetch() to POST data to the server.

Module 3: The Weather Here

The Weather Here is a project tutorial by @joeyklee.

Objectives

  1. Learn how to use fetch() to grab data from APIs in node.js.
  2. Learn how to store private API keys using environment variables.
  3. Learn how to deploy your project using services like Glitch and more.

관련 프로젝트 살펴보기

불러오는 중…