Code Monkey home page Code Monkey logo

Comments (7)

HenryHengZJ avatar HenryHengZJ commented on May 10, 2024 2

I was able to get the frontend working -
image

But having trouble connecting to backend API. Seems like we have to create a vercel.json file and deploy backend code packages/server and frontend packages/ui seperately.

So its not straight-forward

from flowise.

goldzulu avatar goldzulu commented on May 10, 2024 1

AFAIK the frontend react is fine as you said to deploy on Vercel. Backend however needs bit of tweak as it's based on Express which at the fundamental level requires some form of server (Vercel is server less). It can be done but you would have to migrate the functions to be server less. https://vercel.com/guides/using-express-with-vercel It's might be straight forward with the first steps is rewriting the backend routes to go and get served from the Vercel api directory. Fair bit of refactoring though and its better to be done earlier than later if this is an architectural decision.

from flowise.

HenryHengZJ avatar HenryHengZJ commented on May 10, 2024

Hey we have not tried hosting it on Vercel, thus not sure if Vercel will work

from flowise.

Klaudioz avatar Klaudioz commented on May 10, 2024

Why shouldn't work on Vercel?

from flowise.

 avatar commented on May 10, 2024

Great that you were able to get frontend working, what would be better is if you shared how you did it so others can learn

from flowise.

 avatar commented on May 10, 2024

Hey all, Having a similar issue deploying Flowise onto Vercel 'successfully', but not able to load the UI ( check it out: https://forgedmartaiflow.vercel.app). Please share if anyone has been able to figure out how to solve this. Thanks in advance

from flowise.

mrasoahaingo avatar mrasoahaingo commented on May 10, 2024

Hello, same issue for me since the /api route is not working 😞

from flowise.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.