Skip to content

johncruickshank/gin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GIN!

Image Image Image Image Image Image Image

Project Specification:

Gin Discoverer

"70% of gin in the UK is produced in Scotland"

Visit Scotland has teamed up with Gin Club Scotland to promote Scotland’s booming Gin industry. They want you to create an app that lists and maps Gin Bars and Distilleries in Scotland.

Users should be able to obtain walking directions to a selected venue from their Geolocation or a location they specify.

You could use GoogleMaps Directions API: https://developers.google.com/maps/documentation/directions/

You'll have to build your own API to persist the Bar and Distillery data and use an external API to find addresses and postcodes.

MVP:

  • A list of venues including the details of the venues
  • A map marking the venues
  • Search by postcode or town or street name
  • Use Geolocation to allow users to "use current location"
  • Select start and finish locations for their route

Project:

The project was a group project used to gain practice developing as part of a team. In particular building a new product from the planning stage to implementation and using Git as part of a team.

I began working on the project while at CodeClan in Glasgow with three other very talented junior developers (mentioned as authors at the end of this Readme). We designed the system following extensive planning that involved determining a niche market-gap and creating detailed proto-personas, wireframe designs, user journeys, class and object diagrams, a site map and a use-case diagram. We also noted acceptance criteria and began a bug-tracking report.

The system itself is a full-stack Gin Bar and Distillery web application created using Express, Behaviour Driven Development (Mocha), Vanilla JavaScript, Nodemon, Webpack, MongoDB and Node.js. The application utilises various Google Maps APIs (Maps, Places, Geolocation, Directions, Distance Matrix) and a custom Venue API that we created ourselves from scratch. The application provides the user with venue details in the form of a venue list and venue markers on a Google Map. It also geolocates the user (if permitted) and allows the user to search for a new location using Google Place Predictions which are returned as a dropdown from the Map search bar. The user can retrieve more details by clicking on a list item or by clicking on a venue marker on the map. If a venue is selected from the list, directions will be provided from the user location to the selected venue on the map and a subsequent distance matrix request will be resolved and applied as an info window on the route (currently this uses walking distances only).

JavaScript was very effective for this project as it was very useful for working with APIs and noSQL MongoDB and allowed us to generate HTML on-the-fly, giving the site an app-like feel. This was particularly essential for the list-view in order to filter the list and 'expand/collapse' list-items (venues) as well as generate social media links for the venues for those links that exist within the database.

Built With:

Authors

  • Peter McCready
  • Clare Blackburne
  • John Cruickshank
  • Caroline Reid

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published