Skip to content

Files

Latest commit

00bbd35 · Jun 29, 2020

History

History
40 lines (23 loc) · 585 Bytes

README.md

File metadata and controls

40 lines (23 loc) · 585 Bytes

CatSpotter API server

An example project using declarapi.

Whenever you spot a cat, POST it here. Whenever you want to see cats, GET them from here.

How to install?

npm install

How to run?

npm run build
npm run start

Now you can access the server at http://localhost:8080/

How to develop?

npm run dev

This will start the server and recompile/reload it every time you change the code.

How to test?

./test.sh

This will start the server on port 9876, run the tests and stop the server.