Skip to content

chelseybaker/mvvm-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MVVM Web

A simple example of MVVM in web, with tests!

Getting Started

Open Weather API

This app uses the Open Weather API as a network call example. You can create an API key with them for free! Set your key in an .env file as REACT_APP_OPEN_WEATHER_API_KEY=yourKeyHere.

Installing dependencies

Run yarn install to get all of your dependencies.

Starting the app

Run yarn dev to start the app and view it at http://localhost:3000/.

Running tests

Run yarn test to run all tests and view coverage.

TODO

  • Create an App Provider with an AppViewModel (actually call it main screen or something)
  • Lay out the App CurrentLocationWeatherView and make it look nice
  • Remove the individual view providers
  • Switch to decorators
  • Maybe add a second page

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published