Skip to content

HugoDF/micro-vs-express-example

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

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