Skip to content

d33zhou/wikimaps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

25950d7 · Apr 28, 2022
Jan 9, 2022
Jan 7, 2022
Jan 13, 2022
Jan 8, 2022
Jan 7, 2022
Jan 14, 2022
Jan 14, 2022
Jan 14, 2022
Jan 14, 2022
Jan 7, 2022
Jan 7, 2022
Jan 7, 2022
Jan 8, 2022
Jan 8, 2022
Apr 28, 2022
Jan 11, 2022
Jan 11, 2022
Jan 13, 2022
Jan 13, 2022
Jan 14, 2022
Jan 8, 2022
Jan 8, 2022

Repository files navigation

WikiMaps

About

WikiMaps is a full-stack multi-page website that allows users to save maps with points of interest, allowing the curation of personalized attractions, events, restaurants, and more. Users can share maps publicly with others.

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
  • Check the db folder to see what gets created and seeded in the SDB
  1. Run the server: npm run local
  • Note: nodemon is used, so you should not have to restart your server
  1. Visit http://localhost:8080/
  • Use the npm run db:reset command each time there is a change to the database schema or seeds.
    • It runs through each of the files, in order, and executes them against the database.

Dependencies

  • Node 10.x or above
  • NPM 5.x or above
  • PG 6.x
  • LeafletJS
  • Body parser
  • Cookie session
  • EJS
  • Express
  • Staticmaps