/mid-map

Primary LanguageJavaScript

Gotta Go

Gotta Go is an application that displays nearby washrooms. Users can create user defined map, and add or remove pins from the map.

It uses the Leaflet.js API to add, remove pins and render the map.

Final Product

Todo: take screen shots

Tech Stack

  • Node.JS
  • Express
  • Leaflet.js
  • EJS
  • PosgreSQL
  • JQuery
  • AJAX
  • HTML
  • (S)CSS

Getting Started

  1. Create the .env by using .env.example as a reference: cp .env.example .env
  2. Update the .env file with your correct local information
  • username: labber
  • password: labber
  • database: midterm
  1. Install dependencies: npm i
  2. Fix to binaries for sass: npm rebuild node-sass
  3. Reset database: npm run db:reset
  4. Run the server: npm run local
  5. Visit http://localhost:8080/

Final Product

Home Page

Map

Dependencies

  • Node 10.x or above
  • NPM 5.x or above
  • PG 6.x