An open API service indexing awesome lists of open source software.

https://github.com/au5ton/serverless-api

🛰 [indev] Serverless Express.js stack for an API server on Firebase Functions
https://github.com/au5ton/serverless-api

expressjs firebase serverless

Last synced: 3 months ago
JSON representation

🛰 [indev] Serverless Express.js stack for an API server on Firebase Functions

Awesome Lists containing this project

README

          

serverless-api
===========================

Serverless Express.js stack for an API server on Firebase Functions. [Inspired by this Medium post](https://medium.com/p/a20b536c6aec).

## Features

- Automatically initializes [`functions.config()`](https://firebase.google.com/docs/functions/config-env) from a local `config.json` file. Includes module that provides the local copy if running inside `firebase serve --only functions`.
- Organized Express.js stack
- Convenient `postdeploy` and `predeploy` actions.
- Code generation with [hygen](https://github.com/jondot/hygen) (Try: `npx hygen route new `)
- OpenAPI integration with [swagger-jsdoc](https://github.com/Surnet/swagger-jsdoc). (See: [Sample](functions/src/lib/languages/route.js))