Wasp

W

Wasp

Join the community to ask questions about Wasp and get answers from other members.

Join

Is there a way to style .wasp files in JetBrains products?

Hey I installed the opensaas project to check it out and I see there's a .wasp highlighter for VSCode but not for PHPStorm/WebStorm. I couldn't find a plugin for that but I'd like to know a bit more about the highlight maybe I would be able to style it myself.

proxy db to locacl host and open db studio

hello do you remember how to proxy db to localhost?

How to install paritcular version of wasp

I am trying to setup CI and find that wasp version is increased. Not in position to upgrade the wasp on the code yet. How to install a particular version in cli.

CORS issue

Hi I can't get around this error in production:
Access to XMLHttpRequest at 'https://skyber-academy-server.fly.dev/operations/get-waitlist-emails' from origin 'https://skyber-academy-client.fly.dev' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Access to XMLHttpRequest at 'https://skyber-academy-server.fly.dev/operations/get-waitlist-emails' from origin 'https://skyber-academy-client.fly.dev' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
...

Thank You and Some Deployment Questions For All

Thanks for developing this tool, I have enjoyed using it for building an MVP. Now that I am close to release, however, I'd like to hear thoughts about deployment. Certainly, I would like to have an automated CI setup. I would like to be able to deploy to GitHub and see changes online without much friction. What would be a nice setup for this? Another question is about server providers. What about Hetzner, Fly.io, vs. Digital Ocean droplets? It seems like Hetzner and DO are both cheap and reliable alternatives. What would be a nice tooling with these services considering CI?...

Blank Page when Create New App

Hi, I am new to wasp and wanted to create an app with open-saas. I followed the instructions on the official docs, but when running wasp start I get an empty page at http://localhost:3000/ (favicon is popping up, but the page has no content). I don't think this is supposed to happen. I am running with node version 22.9.0, npm version 10.8.3, wasp version 0.15.0 on a M1 Mac. There was a warning on running wasp start:...

How to send emails with Mailgun

What code do I need to use to send emails with Mailgun?

Failing to deploy (Assign own domain)

I am working with the opensaas template and I have skipped the email configuration since my app will not have registration/login or anything related (so I have Dummy sender). I have tried to deploy with Fly but it returns this error: `❌ --- [Error] Your wasp project failed to compile: -------------------------------...

Jobs workers to consume from a queue

I want to set up a jobs worker - or multiple workers - to fetch updated information from the OpenAI API when certain events occurr. The pattern I'd like to use is an event queue, rather than invoking the jobs worker directly from the TS code. Is this something possible with Wasp 0.15.0 or do I need to either to a cron job or stick with the exlicit trigger?...

how does opensaas handle user data? According to the law!

I want to know how the opensaas template handles user data? Is it according to any law or guidline? I mean specifically the user entity. Myself i made a different table with extra user information and encoded it i think 264bits....

backend

What is the best way to make a backend for my saas?

OpenSaaS to Wasp 0.15.X update

Hey guys
does anyone know when the Open-SaaS template is planned to be updated to Wasp 0.15.X? Currently, after starting a new project with this template, I received the following message: bash ~ / wasp db start ...

How could i run a query funciton on button click

I have the following code^. right now the getFilteredProducts query is ran everytime the page relaods or something happens. I only want it to be ran once when the button is clicked.
``` const [formValues, setFormValues] = useState({ minimaleOmzet: '',...

Could I execute an action or multiple once per day on the server side?

Could I execute an action or multiple once per day on the server side for each user. It loads data from an api for that specific user, i want to know if I can make it such that this is done every day for each user.

Changing auth social buttons style

Hey there! Is there a way to style the social buttons in the Auth UI?

wasp studio launch ?

When will wasp studio be released? I'm really looking forward to it. I only know css and html

Load Custom fonts from `src/client/fonts/HossRound`

I added a custom font to the path: app/src/client/fonts/HossRound/Hoss-Round-Bold.otf and setup my Tailwindconfig and css to load that font. Whenever I load the font, vite gives me a 403 error: The request url "/app/src/client/fonts/HossRound/Hoss-Round-Bold.otf" is outside of Vite serving allow list. ...

resource exhausted (Too many open files)

This is not the first time that this happens, for some still unknown reason, when doing any file change, instead of recompiling as it should, my wasp start stops and throw a resource exhausted (Too many open files) error. I tried wasp clean but didn't work. My project is totally unusable, any change I do breaks wasp start It's a haskell error, but I'm not sure why it's happening....

Stripe payment refund

First of all, thank you to this fantastic community for all the hard work. I have a question regarding the payment process using Stripe. I see that we can allow users to subscribe to a plan, but what happens if a user wants to request a refund? How can that be handled?

Job Hanging/Not Working when processing a large loop

I'm running a job on my database that current involves iterating over 800 elements and making an api call on each one, but it never gets past the first iteration, and nothing logs out. Is there anything it looks like I'm doing wrong? I've cut out some parts of the code to save on message length restrictions (mainly irrelevant variables) ```export const updatePlatformStats = async (_args, context) => { const unverifiedUsers = await context.entities.UnverifiedUser.findMany({ where: {...