claudiorodriguez / exercise-droidgrid-api

Simple REST API for the droidgrid module. This is just an exercise - don't use any of this anywhere near a production environment.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Simple REST API for the droidgrid module. This is just an exercise - don't use any of this anywhere near a production environment.

License:MIT License


Languages

Language:JavaScript 100.0%