GithubHelp home page GithubHelp logo

ricafolio / destinasyon-app Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 573 KB

๐Ÿ‡ต๐Ÿ‡ญ Find the best travel destinations in the Philippines, powered by AI.

Home Page: https://destinasyon.ricafolio.dev

JavaScript 2.02% TypeScript 94.13% CSS 3.85%
under-development google-maps-api openai-api nextjs react

destinasyon-app's People

Contributors

ricafolio avatar

Stargazers

 avatar

Watchers

 avatar

destinasyon-app's Issues

API requests timing out in serverless function

The serverless function (/api/prompt) is calling OpenAI API, but requests are consistently taking more than a minute, causing the function to time out and return a 504 error. Tried increasing the timeout limit for the function (by using Vercel's free trial ๐Ÿค ), but it's still not working reliably.

Possible solutions:

  1. Find a hosting solution that can handle longer API requests and reliably supports Nextjs app/ directory. Does it exists?
  1. Move the API completely to a server-based architecture. This would involve setting up a separate repository for the API and migrating away from the current serverless setup.

Serverless functions aren't well-suited for long-running tasks so.

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.