Skip to content
This repository has been archived by the owner on Aug 14, 2018. It is now read-only.

sibartlett/RavenBurgerCo

Repository files navigation

Raven Burger Co - A RavenDB Spatial Showcase!

This project aims to demonstrate some usages of RavenDB's spatial features.

How do I use this project?

  1. Clone this repository
  2. Open the solution in Visual Studio 2012
  3. Press F5
  4. Play!

Scenario

Raven Burger Co is a chain of fast food restaurants, based in the United Kingdom. Their speciality is burgers made with raven meat. All their restaurants offer eat-in/take-out service, while some offer home delivery, and others offer a drive thru service.

This sample application is their online restaurant locator.

Examples

Each example is explained below.

1. General Map

The user can pan and/or zoom a map to browse the different restaurants.

Each time the map's view has changed, the bounds of the map's view is used to query the database for any restaurants that are within those bounds.

2. Eat-in / Take-out

The user can use this page to look for their nearest restaurant.

3. Delivery

The user can choose a location, and be shown which restaurants deliver to that location. Clicking each restaurant displays its polygon (delivery area).

Restaurants that offer a delivery service have a polygon which defines the area which they deliver to. Once the user chooses a location, the database is queried for any delivery areas that contain the user's location.

4. Drive Thru

The user can choose an origin and destination for a car journey. They will then be shown the best route for their journey, and restaurants that are no more than 5 km from the route. If the user clicks a restaurant, they will be shown a new route which stops by the drive thru restaurant.

License

RavenBurgerCo is licensed under the terms of the GNU General Public License Version 3 as published by the Free Software Foundation.

About

Sample application showcasing RavenDB's spatial features

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published