Skip to content

Weather and Maps Practical Yew Tutorial (Yew Megatutorial 8 and 9)

License

Notifications You must be signed in to change notification settings

davidedelpapa/yew-weather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YEW Weather

Built With: RUST WASM: Yew

Codebase for the Yew Megatutorial, part 8. Based on Yew Development Environment

Usage

Just run the run script; it should correctly initialize the environment at the first run (both cargo and npm)

./run

Of course, this is intended as code for a tutorial, so better to follow it.

You will also need a .env file, as shown in the tutorial, in the form:

WEATHER_KEY=XXX
BASEMAP_KEY=XXX

where the first key is the API Key of OpenWeatherMap, the second one is Mapbox APi Key.

Caveat: Cleanup

Sometimes the hot-reload server or the thttp server just stay up, while building fails, etc. In case of "zombie" servers, try to fix it with --clean

./run --clean

About

Weather and Maps Practical Yew Tutorial (Yew Megatutorial 8 and 9)

Resources

License

Stars

Watchers

Forks

Packages

No packages published