Firebase Sample Functions Firebase CLI # setup a new project $ firebase init # deploy functions $ firebase deploy # test on localhost $ firebase serve --only functions