Skip to content

HugoDF/micro-vs-express-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 dependencies
  • npm run express to run the Express app (default port 3000)
  • npm run micro to run the micro app (default port 3000)

About

An example app using `micro` and `express`

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published