Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iamdanielyin/ibird
A lightweight and flexible web development framework.â¨đâ¨
https://github.com/iamdanielyin/ibird
ibird koa
Last synced: 18 days ago
JSON representation
A lightweight and flexible web development framework.â¨đâ¨
- Host: GitHub
- URL: https://github.com/iamdanielyin/ibird
- Owner: iamdanielyin
- License: apache-2.0
- Created: 2016-06-01T14:23:48.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-06-17T07:35:48.000Z (over 4 years ago)
- Last Synced: 2024-10-30T08:18:14.487Z (20 days ago)
- Topics: ibird, koa
- Language: JavaScript
- Homepage:
- Size: 6.65 MB
- Stars: 73
- Watchers: 6
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
English | [įŽäŊä¸æ](https://zhuanlan.zhihu.com/p/30961351)
# ibird
[![NPM version](https://img.shields.io/npm/v/ibird.svg?style=flat)](https://npmjs.org/package/ibird)
[![Build Status](https://img.shields.io/travis/yinfxs/ibird.svg?style=flat)](https://travis-ci.org/yinfxs/ibird)
[![NPM downloads](http://img.shields.io/npm/dm/ibird.svg?style=flat)](https://npmjs.org/package/ibird)
[![Dependencies](https://david-dm.org/yinfxs/ibird.svg)](https://david-dm.org/yinfxs/ibird)A lightweight and flexible web development framework.
## Getting Started
### Prerequisites
Install ibird from npm
With yarn:
```sh
yarn add ibird
```or alternatively using npm:
```sh
npm install --save ibird
```### Writing Code
We can put this code in a file named `index.js`
```js
const app = require('ibird').newApp();// response
app.get('/', ctx => {
ctx.body = `Hello ibird.`;
});app.play();
```If you run this with:
```bash
$ node index.js
```You should see the ibird response printed out:
```bash
$ Listen and serve on 0.0.0.0:3000
```Congratulations - You've just created an application using ibird!
### Next Steps
We prepared a [wiki page](https://github.com/yinfxs/ibird/wiki). You can find tons of useful things there.
### Contributing
We actively welcome pull requests.
### Changelog
Changes are tracked as [GitHub releases](https://github.com/yinfxs/ibird/releases).
### License
ibird is [Apache-2.0-licensed](https://github.com/yinfxs/ibird/blob/master/LICENSE).