0.1.2 • Published 3 years ago
@capsule-cat/propel-forward v0.1.2
@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.exampleand.envare expected at your project root.debug- ALoggerservice is automatically injected into your@capsule-cat/propel-serverdependency injection bottle. It will expect aAPP_NAMESPACEenv-var to be set to configure the service, and will expect you to create anExceptionLoggerservice to report any application errors.
Getting Started
To install the package, run the following command:
npm install --save @capsule-cat/propel-forwardThis 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
3 years ago
0.1.1
3 years ago
0.0.20
3 years ago
0.0.21
3 years ago
0.0.22
3 years ago
0.0.23
3 years ago
0.0.24
3 years ago
0.0.25
3 years ago
0.0.26
3 years ago
0.0.27
3 years ago
0.0.19
3 years ago
0.0.16
3 years ago
0.0.15
3 years ago
0.0.14
3 years ago
0.0.13
3 years ago
0.0.12
3 years ago
0.0.11
3 years ago
0.0.10
3 years ago