Skip to content

A basic app to prototype using Inversify with an Express Web App, Azure Function, Cloud Function, Twilio Function & Lambda function

Notifications You must be signed in to change notification settings

RJPearson94/demo-typescript-inversify-app

Repository files navigation

Demo Typescript Inversify App

code style: prettier

A monorepo to prototype using Inversify. Inversify was used to develop the following applications:

App Pipeline
Azure Function Actions Status
Cloud Function Actions Status
Express Web App Actions Status
Lambda Function Actions Status
Twilio Function Actions Status

Repository Structure

As the repository consists of many packages some common/ core code and others as the releasable artefacts. A monorepo was used to reduce the complexity of sharing code between packages. Yarn workspaces is used to manage the monorepo.

The repository structure is as follows:

demo-typescript-inversify-app
+-- packages
    +-- azure-function
        +-- ...
        +-- package.json
    +-- cloud-function
        +-- ...
        +-- package.json
    +-- core
        +-- ...
        +-- package.json
    +-- lambda
        +-- ...
        +-- package.json
    +-- twilio-function
        +-- ...
        +-- package.json
    +-- web-app
        +-- ...
        +-- package.json
+-- ...
+-- package.json

For more information see the README of each of the packages

Getting Started

You will need:

Once you have Yarn 2 (Yarn Berry) installed, open a command prompt at the root of this project and run

yarn install

This will download all the dependencies for all packages and symlink all packages defined within the packages folder.