Google Cloud Functions implementation of Lambda Framework.
import { App, IApp } from "lambda-framework";
import { GCloudHttpHandler, GCloudEventHandler } from "lambda-framework-gcloud";
const app: IApp = new App();
...
const httpHandler: GCloudHttpHandler = new GCloudHttpHandler(app);
export.httpHandler = httpHandler.handle;
const eventHandler: GCloudEventHandler = new GCloudEventHandler(app);
export.eventHandler = eventHandler.handle;
import { App, IApp } from "lambda-framework";
import { GCloudHttpHandler, GCloudEventHandler, GCloudStorageTemplateLoader } from "lambda-framework-gcloud";
import DustTemplateRenderer from "lambda-framework-dustjs";
const app: IApp = new App();
...
const cachedTime: number = 3000;
const templateRenderer: ITemplateRenderer = new DustTemplateRenderer(new CloudStorageTemplateLoader("PROJECT-ID", "bucket-name", cachedTime));
app.addTemplateEngine(templateRenderer);
...
If you want to know more about how to use App, please visit the Core Project.
- Core
- AWS Lambda implementation
- Google Cloud Functions implementation
- DustJS template engine implementation
- Website
- Website Resources
All contributors will be welcome. You can contributing by implementing/fixing/answering one open issue, by suggesting new features for the framework,... For more info about contributing, you can read the contributing file of the core project.
Make it happen.