Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 614 Bytes

README.md

File metadata and controls

15 lines (12 loc) · 614 Bytes

Puppeteer'ing and REST calls on Firebase Cloud Functions

For more info.

How to add new endpoint

  1. Create new endpoint in index.js
  2. Create new export for new endpoint (Note: If you don't need puppeteer for your endpoint you don't need beefopts)
  3. Update firebase.json with rewrites

How to test

  1. Make sure you have firebase-tools How to Install
  2. firebase serve

API

Posts

http://localhost:5000/posts