GithubHelp home page GithubHelp logo

ankur-dauneria / neighborhood-map-gulp Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 10.15 MB

Neighborhood Map Application is fully responsive single page Javascript application built over MVVM model using Knockout.JS library

License: MIT License

HTML 14.78% JavaScript 69.38% CSS 15.84%
knockoutjs javascript json css gulp mvvm bootstrap responsive wikipedia-api api

neighborhood-map-gulp's Introduction

License Documentation Build

Neighborhood Map Application is fully responsive single page Javascript application built over MVVM model using Knockout.JS library. The front-end was built using HTML, CSS and Bootstrap 3 framework. It incorporates a google map api and variety of data using Wikipedia API to display additional information like photos, heritage site status about the location and site information as per site category, on the google map. Different locations are read from user provided JSON and displayed over the map. It uses Ajax to handle wikipedia/wikidata APIs to get the data to be displayed on the map. On UI, it filters the locations as user types them, draws a polygon and displays accordingly on the map. A location infowindow can be clicked directly from marker or from list view. Project build set-up using Gulp and travis ci is used for continuous integration.

Features

Its fully responsive (NEXUS 5, iPad) single page JS application built over MVVM model using knockout.js

Its uses google maps to display the user choice locations provided.

Its uses third party (Wikipedia/Wikidata) api to get the data and display them inside the infowindow. Third party API are used to location photo and checks if the place is a designated heritage site. It presents site information of each site as per the category.

Filters locations on map both in list view and map markers as user types them

Filter locations on map and list view as user draw a polygon to limit the search into an area

Filters locations on map and list view based on list of tags, other than just location names

Google map uses a custom style

Gulp driven build

Travis driven continuous integration(ci)

Preview

Getting started

Prerequisite

Install Node.js.

This full stack project can be started using

    git clone https://github.com/ankur-dauneria/neighborhood-map-gulp.git
    cd neighborhood-map-gulp

Go to dest folder and click index.html and open it in Google chrome web browser.

Build

Build is setup using gulp. The src folder contains source code and dest folder contains the build code. Following steps to be executed in neighborhood-map-gulp folder

npm install --global gulp-cli

gulp init

npm install --save gulp gulp-concat gulp-minify-css gulp-uglify browsr-sync

gulp default

Go to localhost:3000 in google chrome web browser

Tools used

Project structure

It is fully responsive single page JS application following MVVM model built using knockout.js.

map.js : is the main JS file containing all javascript code. It contains code for wikipedia and wikidata api calls for fetch location photos and heritage status of a site.

style.css : contains the CSS.

index.html : contains the HTML code of the web page.

gulpfile.js : build rules to setup the build.

.travis.yml : Continuous integration configuration.

package.json : Gulp package related configuration file.

Found issue/Report new feature

Please report it via Issues tab

References

Stackoverflow.com

W3Schools.com

getbootstrap.com

Knockout.js

Snazzy maps

Node js

Travis CI

License

This project is licensed under MIT License

neighborhood-map-gulp's People

Contributors

ankur-dauneria avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.