micro
vs Express example
An example app that has a single POST endpoint at its root.
Extracts POST body value
, increments it by and returns it.
If request is not POST, 404s.
Requirements
- Node 8+
- npm 5+
Commands
npm install
to install the dependenciesnpm run express
to run the Express app (default port 3000)npm run micro
to run themicro
app (default port 3000)