Giter Site home page Giter Site logo

bhw-svelte's Introduction

Weather app - svelte

Svelte typescript SPA demo/boilerplate

Features

  • Typescript
  • Storybook
  • Import aliases
  • CLI for common tasks
  • Deploy to GitHub pages on commit to master
  • Demo service calls w/ unit tests (jest)
  • Component testing

Development

Typescript setup

conversion script

Add a new directory alias

In order to work through tests, typescript, and, compilation need to update three files:

  1. package.json in jest.moduleNameMapper
  2. rollup.config.js in plugins.alias ~> entries
  3. tsconfig.js in compilerOptions.paths
  4. .storybook/main.js in alias

Each alias field has its own special way to do things. Follow what is already there.

Links

bhw-svelte's People

Contributors

michaelwooley avatar

Watchers

 avatar  avatar

bhw-svelte's Issues

Stations Latest Observation API call

  • Pattern. https://api.weather.gov/stations/:station/observations/latest
  • Example. https://api.weather.gov/stations/KBVI/observations/latest

Assignees:
Labels:

Add navbar

  • Basic logo
  • Modify modal button

Assignees:
Labels:

Add CLI outline

  • Working in bin
  • Has "init" program outlined.

Assignees:
Labels:

Stations Observations (historical) API call

Pattern is:

https://api.weather.gov/stations/:station/observations?start={Date}&end={Date}&limit={number:50}

Example:

https://api.weather.gov/stations/KBVI/observations?start=2020-09-10T17%3A15%3A00%2B00%3A00&end=2020-09-16T17%3A15%3A00%2B00%3A00&limit=50

Assignees:
Labels:

Add city select modal

  • Create BaseModal component
  • Create Modals container to handle all modals show/hide
  • Create CityModal Component that outlines where two elements should go
  • Create CityModalSearch Component to search/add new cities
  • Create CityModalOrder Component sorts/refreshes current cities
  • Create CityModal container w/ BaseModal and above two components. Linked w/ store.

Update CityBlock-related containers

  • Hook dropdown into CityBlock
  • Add actions to dropdown component
  • Add current weather to the CityBlock container
  • Display all active Blocks in actual App
  • Add "no cities selected" handler to CityBlockList container
  • Update dropdown list (disabled ~> isFirst, etc.)
  • Update dropdown story to use a view

  • โ— Since the graph is not done yet, cannot really "complete" this yet

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.