A full stack web app made to connect friends who want to share map pin points--built using the open-source Leaflet1 Javascript library and Mapbox2 tile data to display an interactive and user-friendly map interface.
This app was built as a midterm project for the Lighthouse Labs web development program by:
- Node
- NPM
- PG
- Chalk
- EJS
- Express
- Cookie-parser
- Install all dependencies (
npm install
) - Reboot the database (
npm run db:reset
) - Run the development web server (
npm start
) - Navigate to
localhost:8080/maps
- Using DevTools, create a cookie
user_id
with a value of 1, 2, or 3--this will enable you to navigate the site as a logged-in user (in the current development state)3
- A user can create a map, and then save pins to that map
- Pins must contain a title and location (location is determined from map click)
- Pins can optionally contain a description and image URL
- Other users can add pins to any map
- Only the creator of a pin can edit or delete that pin
- Users can view their profile page, which includes summary lists of their maps, 'liked' maps by others, and pins they've contributed to other maps.
- Add user authentication
- Add cloud database support and hosting
- Improve responsive design for various screen sizes
- Build-out error pages to provide more visual continuity
Footnotes
-
Refer to https://leafletjs.com/ ↩
-
Refer to https://www.mapbox.com/ ↩