/zafiro-realworld-example

Exemplary realworld app powered by Zafiro, InversifyJS and TypeORM

Primary LanguageTypeScriptMIT LicenseMIT

zafiro-realworld-example

Join the chat at https://gitter.im/inversify/InversifyJS npm version Build Status Dependencies img Known Vulnerabilities Twitter Follow

Exemplary real world app built with 💎 Zafiro.

Zafiro is a strongly typed and lightweight web framework for Node.js apps powered by TypeScript, InversifyJS, TypeORM and Express 🚀

⚠️ 🚧 This example is under construction 🚧 ⚠️

Running this example

1 Clone the repository

git clone https://github.com/remojansen/zafiro-realworld-example.git

2 Setup

npm install
npm run setup

3 Run the tests

npm test

4 Run the app

npm start

You should see the following output in your terminal:

When you run the Node.js app the following things happen automatically:

  • Create a database connection.
  • Create database repositories.
  • Declare type bindings for the repositories.
  • Declare type bindings for the controllers.
  • Configure the Express router.

Yes, it is real!

Technologies are used in this example