Report as a product.

So my SaaS will be an AI generated report. Initially before switching to OpenSaaS I was planning on using a low code/no code solution and a severless function on digital ocean to make my AI API call. Is that still the best option for me? Flow would be landing page -> login -> purchase -> Form to submit info for the report -> Display report Can/should I do that right from the website instead of the serverless function? Any tips on this part for some one who has no idea what they are doing?
2 Replies
kapa.ai
kapa.ai3mo ago
Hi @Kelly Ellie. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- Based on the information provided in the knowledge sources, Wasp and OpenSaaS could be a good fit for your project. Wasp is a framework that works with React, Node.js, and Prisma, and it's designed to help developers build web apps more efficiently. OpenSaaS is a starter template for Wasp that comes with features like authentication, Stripe payments, and more, which could be useful for your project. However, it's important to note that both Wasp and OpenSaaS require some coding knowledge, particularly in React and Node.js. If you don't have any coding experience, you might face some challenges. As for your question about whether you should make your AI API call from the website or a serverless function, it would depend on the specifics of your project and the AI API you're using. Generally, it's a good practice to make API calls from the server side to avoid issues like CORS, but without more information, it's hard to give a definitive answer. If you're new to this, I would recommend starting with the Wasp documentation (https://wasp-lang.dev/docs) and the OpenSaaS template (https://wasp-lang.dev/docs/project/starter-templates#available-templates). These resources should give you a good starting point and help you understand how to use these tools. If you get stuck, the Wasp community on Discord seems to be quite active and could be a good place to ask for help. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ---------------------- Sorry @Kelly Ellie, I seem to be having a bit of trouble. Don't worry though, I've pinged my support and they will try to fix me up! :technologist: Perhaps try again in 15mins?
martinsos
martinsos3mo ago
Ha it is a bit hard to say! Just doing it all from the website (frontend) -> taht won't be a good solution for you if you are using your API key to access the AI. You will need some kind of server(less) logic that will be handling that API key (so users can't access it). Now, is it better for you to use some simple frontend + serverless or go with OpenSaas and Wasp -> hard to say, depends on how complex it will get. With OpenSaas, benefit is it all comes as one thing that works already. But it is not serverless (for now), so you do need to have a server deployed and running, which can cost more than just serverless when y ou don't have much users (still shoudlnt' be terrible, couple USD per month).
Want results from more Discord servers?
Add your server