cuddly-doodle
v1.0.0
Published
Sample Node.js Express app with tests
Readme
cuddly-doodle
This is a small Node.js + Express sample project with two demo APIs and tests.
APIs
- GET /api/health - returns a JSON payload with status
okand the current server time. - POST /api/echo - echoes the posted JSON payload and appends an
echoedAttimestamp.
Development
Install dependencies:
npm installRun locally:
npm run devRun tests:
npm testServer will run on port 3000 by default. Set PORT env variable to change it.
Happy hacking!
