This is a DRA to fetch weather with native web APIs. It renders server side and uses the same script to power dynamic changes on the frontend. The frontend bundle is 3.44 kB.
Clone the repo:
git clone git@github.com:TandemSeven/dra-web-frameworkless.git
cd dra-web-frameworklessInstall the dependencies and run the local server:
npm install
npm startNext, go to http://localhost:3000/
From there, you can change the ZIP using the path. Some examples include:
- http://localhost:3000/90210 (Beverly Hills, CA)
- http://localhost:3000/10001 (New York, NY)
- http://localhost:3000/60601 (Chicago, IL)