Map Stories Backend

Map Stories is a location based storytelling app. Editors can create map based stories and place markers on the map. Each marker is associated with an event, which has information and attachments.

Motivation

People have a difficult time understanding stories that take place on an unfamiliar map. By locating the narrative key points of a story on a map, Map Stories help story makers orient their viewers.

Installation

Clone the Map Stories Backend repo from the root folder Clone the Map Stories Frontend repo, then $npm i

Usage with Postman

Download the Map Stories Collection. Go into the repo's server and run nodemon index.js In postman, use the 'Create Editor' route and create an editor with name, email and token. Token is a string. In Postman: Manage Environments > Globals Under Key, set a property, Token and input the dummy token to test authenticated routes.

Tech Stack

  • Koa
  • MongoDB
  • Mongoose
  • Mocha, Chai and Sinon