Final Project

Project Developed by - Muttakin Islam and Tahmid Bin Mahmud

NAME: Enviro-Map

Application Objective: Provide Location based environment data to researchers/students.

Home: Gives a description of the objective of the application. The services provided and a 'Contact Us' section. Home

Home 2

Map: An interactive Map from Leaflet, an open-source JavaScript library for mobile-friendly interactive maps. Default view is set over Bangladesh. Then a MapLayer is integrated over it from the 'World's Air Pollution: Real-time Air Quality Index' which is provided for free, as long as attribution is provided to the owner.

Map

Data Section: Here environmental data are provided based on location that User can select and it will be fetched from the database. The Data Query for Barisal has been shown below as an example.

Data

Input Section: This section can only be accessed after successful login by an Authorized User to Input/Update location based environmental data into the database. Input

POSSIBLE IMPROVEMENTS ON THE PROJECT Request Board: For Normal Users to put requests of data of a location if it does not already exist.

Improved Map: Provide display options on Map to show different category of data provided by WQAI website (using different Map API request). Also pin on map the data we have on our database.

How to set up the code

  1. Install Node.js on your computer

  2. Download this code, and from command prompt run:

    npm install

  3. To run the code, run:

    nodemon server.js or,

    node server.js

  4. In the browser open http://localhost:3000/, and you should see the index page

  5. For Authorized Login, use:

    admin: admin

    password: asdf