Skip to content

helloShen/mom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mom

javascript webpack node.js npm eslint babel grid css3 html5 svg

Online Javascript weather app for my mom. Online preview: ciaoshen.com/mom

OpenWeather API

Weather forcast data (in JSON format) is fetched from OpenWeather API.

Async JS

Using ES2017 async and await.

MVC

This project is developed with MVC pattern.

  1. model.js: A DAO(Data Access Object) API. It's aware of the data structure.
  2. view.js: All DOM manipulations go to this file.
  3. controller.js: A general manager. He is the only one who knows all the logic of different features. But he is blind from both data and DOM. model.js and view.js do these concrete tasks for him.

Conclusion

Happy coding! I love you mom❤️

About

A weather app for mom.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published