# fenrir

## Overview

Scene editor for [lokijs game engine][lokijs]. Saves scenes in JSON format for later loading by the running lokijs game.

## Architecture

### Server

A nodejs connect server with three functions:

   * Serve static assets from the current working directory to allow for game testing.
   * Serve fenrir web application from `/fenrir` endpoint.
   * Expose fenrir APIs for use by the web application at `/fenrir/api`.

## Extensions

fenrir will, on startup, search the `package.json` file of the current working directory, looking at the `dependencies` and `devDependencies` fields. fenrir will then load each module's `package.json` file from `node_modules` and look for a custom field named "fenrir". If found, that module will be assumed to be a fenrir extension and will be loaded into the running server as such.

What fenrir extensions actually look and work like is TBD.

## License

MIT

## Nitpicky stuff

It's "fenrir", all lowercase.

  [lokijs]: http://lokijs.com
