/Restify-And-TypeOrm

Code Along with Manuel Rauber <manuel.rauber@thinktecture.com> at api-conference-2017-nodejs-typescript-webapi

Primary LanguageTypeScript

api-conference-2017-nodejs-typescript-webapi

This repository contains the sample for the talk "Web-APIs mit Node.js und TypeScript - leichtgewichtig und performant" at the API Conference 2017, Berlin.

Setup

Run npm i to install all necessary packages.

Start

Run npm start to start the application. Please take a look at both controllers for all available routes.

Database setup

The sample uses a database for storing the data. Thanks to TypeORM several database engines are supported. You can set the credentials for your own database in the src/index.ts-filesrc/index.ts

Restify-And-TypeOrm