An open API service indexing awesome lists of open source software.

https://github.com/mikebild/babel-node-expressjs

A simple ExpressJS App written with ECMA Script.
https://github.com/mikebild/babel-node-expressjs

Last synced: about 1 year ago
JSON representation

A simple ExpressJS App written with ECMA Script.

Awesome Lists containing this project

README

          

# ExpressJS with modern Babel + NodeJS

Transpile and bundle ECMA to use in NodeJS.

## Build

`npm run build`

## Test

`npm test`

## Dev

`npm start`

## Run

`npm run serve`

## Examples

### JSON

`curl -v -XGET http://localhost:3000 -H "content-type: application/json"`

### URL-Encoded

`curl -v -XPOST http://localhost:3000 --data-urlencode "msg=hello you" -H "content-type: application/x-www-form-urlencoded"`