0.1.2 • Published 1 year ago

@capsule-cat/propel-forward v0.1.2

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

@capsule-cat/propel-forward

Opinionated framework built on top of @capsule-cat/propel-server. This package contains a set of utilities and pre-made services to quickly get started with writing a server using @capsule-cat/propel-* packages.

What's included

  • dotenv-safe - automatically load in env-vars based on an expected .env.example. Both a .env.example and .env are expected at your project root.
  • debug - A Logger service is automatically injected into your @capsule-cat/propel-server dependency injection bottle. It will expect a APP_NAMESPACE env-var to be set to configure the service, and will expect you to create an ExceptionLogger service to report any application errors.

Getting Started

To install the package, run the following command:

npm install --save @capsule-cat/propel-forward

This will install the package as a dependency.

Usage

To use as your entrypoint, import the init function from the package and call it with an array of plugins.

import { init } from "@capsule-cat/propel-forward";

async function main() {
    await init([
        // Add any Propel plugins here
    ]);
}

This will initialize the dependency injection container and any Bootstrap methods.

0.1.2

1 year ago

0.1.1

1 year ago

0.0.20

2 years ago

0.0.21

2 years ago

0.0.22

2 years ago

0.0.23

2 years ago

0.0.24

2 years ago

0.0.25

2 years ago

0.0.26

2 years ago

0.0.27

2 years ago

0.0.19

2 years ago

0.0.16

2 years ago

0.0.15

2 years ago

0.0.14

2 years ago

0.0.13

2 years ago

0.0.12

2 years ago

0.0.11

2 years ago

0.0.10

2 years ago