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.
- Host: GitHub
- URL: https://github.com/mikebild/babel-node-expressjs
- Owner: MikeBild
- Created: 2016-12-07T17:43:21.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-12-08T07:49:10.000Z (over 9 years ago)
- Last Synced: 2025-02-14T02:47:17.802Z (over 1 year ago)
- Language: JavaScript
- Size: 31.3 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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"`