/firebase-function-api

A simple sample of a firebase function api with Express, Webpack, Babel, Eslint, Dotenv and Swagger

Primary LanguageJavaScript

Firebase Functions Simple API

A simple sample of a firebase function api with Express, Webpack, Babel, Eslint, Dotenv and Swagger

PREREQUISITES

SETUP

  • Clear your functions folder

  • Inside functions folder run git clone https://github.com/diegofer25/firebase-function-api.git . to clone http or git clone git@github.com:diegofer25/firebase-function-api.git . to clone with SSH.

  • Run npm i to install the dependencies

  • Run git remote remove origin to remove this remote repository

  • Change the field functionsUrl in the package.json with your api url

Scripts

  • npm run dev for development

  • npm run build for production

Features

  • You can check the api documentation on /api/docs path