Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hugodf/micro-vs-express-example
An example app using `micro` and `express`
https://github.com/hugodf/micro-vs-express-example
express micro nodejs
Last synced: 24 days ago
JSON representation
An example app using `micro` and `express`
- Host: GitHub
- URL: https://github.com/hugodf/micro-vs-express-example
- Owner: HugoDF
- License: mit
- Created: 2018-10-21T11:39:10.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-09T05:34:59.000Z (almost 2 years ago)
- Last Synced: 2024-10-10T12:11:28.308Z (about 1 month ago)
- Topics: express, micro, nodejs
- Language: JavaScript
- Size: 40 KB
- Stars: 2
- Watchers: 2
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `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)