Simple REST API for the droidgrid module. This is just an exercise - don't use any of this anywhere near a production environment.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
test
.gitignore
.travis.yml
LICENSE
README.md
index.js
package.json

README.md

exercise-droidgrid-api

Build Status

Simple REST API for the droidgrid module. Make sure to see (https://github.com/claudiorodriguez/exercise-droidgrid-core) first. This is just an exercise - don't use any of this anywhere near a production environment.

Installation

git clone this repo into a folder, then npm install and npm start when done.

Make a POST request to /grid with a text field in the body, e.g.

5 5
1 2 N
LMLMLMLMM
3 3 E
MMRMMRMRRM

Note the use of spaces and newlines as separators.

Testing

To run the tests:

$ npm test

Contributing

This is an exercise project. You are welcome to fork it but I am unlikely to maintain it.

License

MIT - see LICENSE