0.0.0 • Published 4 years ago

veloce v0.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

Veloce

Modern Express based web framework.

NPM Version NPM Downloads Linux Build Windows Build Test Coverage

const veloce = require("veloce");
const app = veloce();

app.get("/", function (req, res) {
  res.send("Hello World");
});

app.listen(3000);

Installation

This is a Node.js module available through the npm registry.

Before installing, download and install Node.js. Node.js 8 or higher is required.

Installation is done using the npm install command:

$ npm install veloce

Follow our installing guide for more information.

Features

  • Robust routing
  • Focus on high performance
  • Super-high test coverage
  • HTTP helpers (redirection, caching, etc)
  • View system supporting 14+ template engines
  • Content negotiation
  • Executable for generating applications quickly

Philosophy

The Veloce philosophy is to provide small, robust tooling for HTTP servers, making it a great solution for single page applications, web sites, hybrids, or public HTTP APIs.

Veloce does not force you to use any specific ORM or template engine. With support for over 14 template engines via Consolidate.js, you can quickly craft your perfect framework.

Examples

To view the examples, clone the Veloce repo and install the dependencies:

$ git clone git://github.com/velocejs/veloce.git --depth 1
$ cd veloce
$ npm install

Then run whichever example you want:

$ node examples/content-negotiation

Tests

To run the test suite, first install the dependencies, then run npm test:

$ npm install
$ npm test

License

MIT