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/plays
returns the list of playsGET /api/play/:play
returns a play's metadata in JSON format (title
andcharacters
, as read from the act 1 of that play)GET /api/play/:play/act/:act
returns a play's act in JSON format, e.g. fourberies-acte1