@florob95/routing-controllers-services
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

routing-controllers-services

fork of @flyacts/routing-controllers package

Services

```typescript
import "reflect-metadata"; // this shim is required
import {createExpressServer} from "routing-controllers";
import {UserService} from "./UserService";

// creates express app, registers all controller routes and returns you express app instance
const app = createExpressServer({
   services: [UserService] // we specify sesrvices we want to use
});

// run express application on port 3000
app.listen(3000);
```

Readme

Keywords

none

Package Sidebar

Install

npm i @florob95/routing-controllers-services

Weekly Downloads

2

Version

0.0.2

License

MIT

Unpacked Size

336 kB

Total Files

308

Last publish

Collaborators

  • florob95