cool weekend project with olivier desmoulin & jerome gangneux about theatre
git clone https://github.com/adrienjoly/thtr.git
cd thtr
npm i
npm start
npm test # (to be run in another terminal)Note: since september 26th, 2016, the landing page and API endpoints are published statically from the /docs directory, thanks to github pages. the web server's code was not changed accordingly.
GET /says helloGET /api/playsreturns the list of playsGET /api/play/:playreturns a play's metadata in JSON format (titleandcharacters, as read from the act 1 of that play)GET /api/play/:play/act/:actreturns a play's act in JSON format, e.g. fourberies-acte1