Giter Club home page Giter Club logo

magellan's Introduction

Magellan's Voyage

Difficulty - 2/5

Objective

Create an express app that takes the user on a virtual tour of Magellan's voyage circumnavigating the globe. Each page is a separate stop on the voyage.

Requirements

Part I

  • Scaffold out an express application.
  • The user should start on the home page at Seville, where Magellan departed Spain in 1519.
  • Using express routing, create a separate page and route handler for each of the following locations from Magellan's expedition:
    • Seville
    • Canary Islands
    • Cape Verde
    • Strait of Magellan
    • Guam
    • Philippines
  • At each location (except the last), a next button should lead the user to a new page with information about that stop on Magellan's voyage.

Bonus

  • Add a route to handle an unknown destination. For example, if the user requests a page for "India", the user should see a simple page that informs the user that Magellan did not travel to India. (See Application Routing in the Express documentation for a description of different types of dynamic routes.)
  • Add a /next route which will serve up a JSON response that tells the user what location comes after a given location. The route should take a query string of the current location e.g. /next?location=Seville. Return a JSON response that looks like the following: { location: 'Seville', nextLocation: 'Canary Islands' }

magellan's People

Contributors

alanbcole avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.