This project's goal is to utilize the organizational JS library Knockout incorporating the MVVM pattern to update the web page dynamically without refreshing the browser, in combination with Google Maps API, and a third party API, in this case Foursquare.
I've also utilized the following:
-
Click on link at the top or click this link.
or
-
Clone files or download and unzip files:
$ git clone https://github.com/johnnyqbui/Project-Neighborhood-Map.git
After cloning or downloading:
- Navigate to '/dist' folder
- Open index.html in a browser
And that's it!
The development code can be found in the '/app' directory along with the raw/uncompressed files. Bower.JSON lists the dependencies and versions used in this project:
- Jquery: "3.1.0"
- Knockout: "3.4.0"
The production code can be found in the '/dist' folder along with the minified/compressed files.
-
Install Gulp Dependencies:
- Make sure Node.JS is installed
- Make sure package.json is at root level, then run:
$ npm install
-
Install Bower:
Bower depends on Node.JS, so make sure that's installed first. Then run the code below.
$ npm install -g bower
-
Update Dependencies:
Navigate to the '/app' directory where the bower.json file resides and run this in your git command window:
$ bower install --force
This command forces bower to install up to date dependencies into bower_components directory. Otherwise, you can keep the original version dependencies the project was created with.