Install the dependencies
npx bun i Run in dev mode
npx bun run dev To publish the app to internet follow the instructions below:
-
Import the project from Github.
-
Setup the env variable to use the backend URL.
VITE_API_URL=https://0f96-45-44-28-25.ngrok-free.app/ask To update the app to internet follow the instructions below:
-
Go to the app deployed in Vercel.
-
Go to "Settings" tab, "Environment Variables".
-
Set the env variable to the update backend URL in "VITE_API_URL".
VITE_API_URL=https://0f96-45-44-28-25.ngrok-free.app/ask - Go to "Deployments" tab, check for the latest deployment and redeploy the app.