Giter Club home page Giter Club logo

se-bpda-main-streets's Introduction

bu-spark.github.io

The start of Spark! Tech Resources

se-bpda-main-streets's People

Contributors

am5815 avatar bobbywang0120 avatar iansaucy avatar mhcheng1 avatar zhunan0905 avatar

Watchers

 avatar  avatar  avatar

se-bpda-main-streets's Issues

missing requirements

requirements.txt is missing, at least:

  • flask-cors
  • geojson

also, pywin32 is in requirements.txt which means it must be removed on linux

requirements versions being == led to problems with:

  • psycopg2
  • python-mysqlclient

Boston Interactive Map (homepage, all main street data)

When using the Boston Interactive Map, and the user clicks on one of the main streets, an option to follow a link is provided. Only five main streets (Washington Gateway, Brighton, Chinatown, Four Corners, Allston Village) will properly redirect to their corresponding page. All other main streets redirect to https://bu-spark.github.io/se-bpda-main-streets/#/employment. This is because the page has not been created due to the lack of data for that main street. For future implementations, when this main street page is created, add the working URL to the geoJSON file frontend/dev-app/src/Components/GeoJSON/Main_Street_Districts.json. This geoJSON has locational and basic data of the various main streets. Search for the dictionary of the desired main street and replace the temporary URL (https://bu-spark.github.io/se-bpda-main-streets/#/employment) with the new URL.

Page Creation

In frontend/dev-app/src/App.js, the various routes/pages are created in a repetitive manner with different data. A possible improvement is through moving this data to the Flask API and sending it to App.js. Then in App.js, it would iterate through the list of data (URLs, coordinates, zoom) and create the various routes for them. This would clean the repetitiveness of App.js, but it would cause the rendering of the web application to be slower due to the fetching of Flask API data.

Empty Pages

There is a lack of pages for the majority of the main streets, which display the Developing.js page. This page states that there is no data for this page. This is an issue for the current web application. This is due to a lack of data, so when more data is added to the various main streets, these main streets' pages will need to be created/updated in frontend/dev-app/src/App.js.

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.