22layout : default
33title : giuseppe - by smartive AG
44---
5- giuseppe [ Italian: dʒuˈzɛppe] is a controller routing system for [ Express] ( http://expressjs.com/ ) using [ TypeScript] ( https://www.typescriptlang.org/ )
6- decorators and annotations named after the great Italian componist Giuseppe Verdi. Like Verdi,
5+ giuseppe [ Italian: dʒuˈzɛppe] is a controller routing system for [ Express] ( http://expressjs.com/ ) using [ TypeScript] ( https://www.typescriptlang.org/ )
6+ decorators and annotations named after the great Italian componist Giuseppe Verdi. Like Verdi,
77it composes things, but not a great piece of musical history! We compose routes for you. giuseppe is dedicated to
88[ Express] ( http://expressjs.com/ ) and depends on it. We were tired of writing all the route registrations by ourselves.
99
1010[ ![ Build Status] ( https://travis-ci.org/smartive/giuseppe.svg )] ( https://travis-ci.org/smartive/giuseppe )
11+ [ ![ Build Status] ( https://ci.appveyor.com/api/projects/status/7m14ruqjaopwbfn4?svg=true )] ( https://ci.appveyor.com/project/buehler/giuseppe )
1112[ ![ npm] ( https://img.shields.io/npm/v/giuseppe.svg?maxAge=3600 )] ( https://www.npmjs.com/package/giuseppe )
1213[ ![ Coverage status] ( https://img.shields.io/coveralls/smartive/giuseppe.svg?maxAge=3600 )] ( https://coveralls.io/github/smartive/giuseppe )
1314[ ![ semantic-release] ( https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg )] ( https://github.com/semantic-release/semantic-release )
@@ -27,15 +28,15 @@ To install this package, simply run
2728
2829[ ![ NPM] ( https://nodei.co/npm/giuseppe.png?downloads=true&stars=true )] ( https://nodei.co/npm/giuseppe/ )
2930
30- The suggested method would actually be: use the yeoman generator which we created @
31+ The suggested method would actually be: use the yeoman generator which we created @
3132[ generator-giuseppe] ( https://github.com/smartive/generator-giuseppe ) .
3233It installs all dependencies and libraries that you need.
3334
3435When you use the manual way npm should install all typing dependencies.
3536They are listed in the ` package.json ` with the ` @types ` prefix.
3637
3738This package installs the transpiled ` *.js ` files instead of ` *.ts ` files, since the compiler tries
38- to compile them everytime. The declaration files with the JSDocs are provided aswell so your
39+ to compile them everytime. The declaration files with the JSDocs are provided aswell so your
3940autocomplete does work as it should.
4041
4142## Migrate to new major versions
@@ -83,12 +84,12 @@ import { Controller, Get, Giuseppe } from 'giuseppe';
8384
8485@Controller ()
8586class PingPongController {
86-
87+
8788 @Get (' ping' )
8889 public ping(): any {
8990 return {ping: ' pong' };
9091 }
91-
92+
9293}
9394
9495const giusi = new Giuseppe ();
@@ -110,22 +111,22 @@ import { Controller, Get, Query } from 'giuseppe';
110111
111112@Controller ()
112113export class PingPongController {
113-
114+
114115 @Get (' ping' )
115116 public ping(): any {
116117 return {ping: ' pong' };
117118 }
118-
119+
119120}
120121
121122@Controller (' echo' )
122123export class EchoController {
123-
124+
124125 @Get ()
125126 public ping(@Query (' data' ) data : string ): string {
126127 return ' you gave me: ' + data ;
127128 }
128-
129+
129130}
130131```
131132
@@ -164,7 +165,7 @@ We're happy if you have any contributions! Every participation counts. Feel free
164165open pull requests, issues or use any other form of contribution. Maybe we'll
165166set up a ` CONTRIBUTING.md ` file in the future. soon(tm).
166167
167- If you want to create a plugin for giuseppe, use the other yeoman generator @
168+ If you want to create a plugin for giuseppe, use the other yeoman generator @
168169[ generator-giuseppe-plugin] ( https://github.com/smartive/generator-giuseppe-plugin )
169170
170171[ Full list of contributors] ( https://github.com/smartive/giuseppe/graphs/contributors )
0 commit comments