Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/varaljs/varal
A Node Framework For Web Artisans
https://github.com/varaljs/varal
Last synced: about 1 month ago
JSON representation
A Node Framework For Web Artisans
- Host: GitHub
- URL: https://github.com/varaljs/varal
- Owner: varaljs
- License: mit
- Created: 2017-10-20T06:53:22.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-04-19T08:08:50.000Z (over 1 year ago)
- Last Synced: 2024-10-02T20:46:55.340Z (2 months ago)
- Language: JavaScript
- Size: 192 KB
- Stars: 15
- Watchers: 4
- Forks: 2
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-github-star - varal
README
# Varal
Varal 是一个轻量级的 Web 服务框架
欢迎 PR
[![NPM Version][npm-image]][npm-url]
[![Maintainability](https://api.codeclimate.com/v1/badges/ea102682c12c00a174f1/maintainability)](https://codeclimate.com/github/dmpty/varal/maintainability)[npm-image]: https://img.shields.io/npm/v/varal.svg
[npm-url]: https://npmjs.org/package/varal## Features
* 流畅易用的 MVC 开发体验
* 模板引擎 [art-template](https://github.com/aui/art-template)
* 服务容器与依赖注入
* 插件机制## Installation
```bash
$ npm install varal --save
```## Basic Usage
```javascript
const varal = require('varal');
const server = new varal();
server.get('/', app => {
app.text('Hello World');
});
server.run();
```
运行文件,访问 `localhost:8888` 即可看到文本输出。## Document
[Varal - 中文文档](https://github.com/varaljs/varal/wiki)