Skip to content
    Back to all Bounties

    Earn 2,250 ($22.50)

    Time Remainingdue 2 years ago
    Open

    Help getting Firebase cloud functions working with Serpapi using Vue/Vite/Localhost/Vercel.

    asherhunt2
    asherhunt2
    Posted 2 years ago

    Bounty Description

    #Problem
    The problem is that I am unable to get Firebase cloud functions working with my vue/vite/localhost setup. I am experiencing CORS issues and am unable to establish a "hello world" moment with the cloud functions. This is preventing me from being able to make server-side API calls via cloud functions in my vue application.

    Acceptance Criteria

    Successfully deploy a working cloud function on Firebase that sends/receives requests to Serpapi.
    Help resolve CORS issues with localhost and establish a connection between the cloud function and my Vue app. This should also work when deployed to Vercel.
    Able to make server-side API calls via cloud functions using my vue app
    Provide clear documentation on how to reproduce the setup

    Technical Details

    • Firebase cloud functions
    • Vue.js
    • Serpapi
    • Vite
    • Vercel
    • Localhost
    • CORS configuration and troubleshooting
    • API calls and integration with vue app.