Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lencx/cloudevents
☁️ koa + cloudevents
https://github.com/lencx/cloudevents
cloudevents koa
Last synced: 2 days ago
JSON representation
☁️ koa + cloudevents
- Host: GitHub
- URL: https://github.com/lencx/cloudevents
- Owner: lencx
- Created: 2019-07-24T03:28:04.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-08-18T16:10:03.000Z (over 5 years ago)
- Last Synced: 2024-05-23T05:34:54.099Z (9 months ago)
- Topics: cloudevents, koa
- Language: JavaScript
- Homepage:
- Size: 6.84 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cloudevents
* [CloudEvents](https://github.com/cloudevents)
```bash
yarn# dev
# or `npm run dev`
yarn dev# A Binary One
curl -X POST \
-d'{"a": 1, "b": 2}' \
-H'ce-specversion:0.3' \
-H'ce-type:com.github.pull.create' \
-H'ce-source:https://github.com/cloudevents/spec/pull/123' \
-H'ce-id:45c83279-c8a1-4db6-a703-b3768db93887' \
-H'ce-time:2019-06-21T17:31:00Z' \
http://localhost:8080/node/event
```## ⚙️ Config
```js
// config/env/*.js: [dev, prd, ...]
module.exports = {
api: {
event: 'http://xxx.xxx.xxx',
}
}
```## 🔮 Feature
* proposal-optional-chaining
* format data: `/app/format/*`