staceymck / stl-zoo-map-frontend

Frontend repo for a simple, interactive map based on the St. Louis Zoo. Uses vanilla JS and functions as a single page application. Connects to a Rails backend.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Virtual Zoo Map

Description

This repo serves as the frontend for a simple interactive map based on the St. Louis Zoo. Site visitors can click on map zones to view information about that zone's exhibits and attractions. Watch demo

Backend Repo

Users can click on sections within an svg map to bring up info about zoo zones.
Image of Red Panda beside svg map based on the St. Louis zoo with 6 distinct zones


Selected map zone is colored and others are gray. Beside map is info about the selected zone.

As they navigate through the zones, users can explore information cards about each zone's exhibits. Each card can be clicked to reveal a fact about the exhibit and/or the species that live in it.
Row of three cards, each with an animal photo and information about the related exhibit below.

Users can also add reviews/comments that include a rating and the option to upload an image.
Modal box for saving a new review with areas to add a username, main content, rating and image.

Technology

This app uses a Rails API backend with HTML, CSS and object-oriented JavaScript on the frontend. Images are stored with Cloudinary and attached to database records via Active Storage.

Data & Asset Sources

Zoo data is based on information available on the St. Louis Zoo website.

The map SVG was developed using data made available through © OpenStreetMap contributors.

Photos are public domain images from Unsplash and Pexels.

License

As the included map uses data provided via OpenStreetMap, any use or adaption of the map SVG must comply with the Creative Commons Attribution-ShareAlike 2.0 license (CC BY-SA 2.0). This app is just intended as a demo and learning experience, not to be set up as a live review site of the St. Louis Zoo.

About

Frontend repo for a simple, interactive map based on the St. Louis Zoo. Uses vanilla JS and functions as a single page application. Connects to a Rails backend.


Languages

Language:JavaScript 42.5%Language:HTML 40.2%Language:CSS 17.4%