Wasp

W

Wasp

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

Join

I want to create an env variable called supabase_url how can i create it and use it in front end

I want to create an env variable called supabase_url how can i create it and use it in front end

Set custom Reply-To in mail sender.

I'm using Mailgun and it recommended to use a new subdomain, like: mg.mydomain.com, so if it gets bad reputation or blacklisted will not affect the main domain mydomain.com Based on that I have set up all for mg.mydomain.com, the question here is, if I will send the emails from *@mg.mydomain.com, how can I set up custom reply-to property like contact@mydomain.com (the main domain)....

When does wasp decide to do npm install during development?

It seems to be random when I run db migrate-dev and takes a really long time

Desktop Client

How to achieve a desktop client using the Wasp backend and database? There is an example with Expo (for mobile), but didn't found anything for desktop. What advice or paths to follow and/or investigate?...

How to get ssl working with my domain and coolify

I followed all the steps for deploying with coolify. its working at the http endpoint, but, i'm getting these errors between the client and server: api.mydomain.xyz/auth/me:1 Failed to load resource: net::ERR_CERT_AUTHORITY_INVALID. I'm using porkbun for my domain, i've installed the A-records for the client and server. What could i be missing?...

Adjust login styling so mobile does not have to zoom in

so on all examples of the login component being used using email : password when you login since the font size is smaller than the apple approved 16px it zooms in on the text box and when you submit it won’t zoom out causing the user to have to zoom out for the mobile view to fit correctly

Stripe Configs

When it comes to Stripe configuration, the defaults for open-saas in the .env.server are: PAYMENTS_HOBBY_SUBSCRIPTION_PLAN_ID=012345 PAYMENTS_PRO_SUBSCRIPTION_PLAN_ID=012345 PAYMENTS_CREDITS_10_PLAN_ID=012345...

Server Sent Events Not Working

Since WASP does not support this, I created an api endpoint on wasp.main. It is POST endpoint with auth set to false. From the front end, I usethe fetch-event-source library so that I can send a body to the SSE endpoint (SSE normally only supports GET). When I send a request from the client, the server starts streaming the event. However, I see nothing on the front end or the developer network tab. Here is the front-end function that establishes the SSE connection: ```export function startAiSSE( userMessage: string, onChunk: (chunk: string) => void,...

ReplyTo Parameter Support With Mailgun

Hey @kapa.ai - Is it possible to use Wasp's built in email API and define a reply-to address? I am using Mailgun.

Clear Dev Ports

Hey all, this is probably more of a dev question than a wasp question, but I keep getting network errors when building out. I think this is because as I am 'vibe coding', the app usually crashes. Is there a way I can see/clear the ports so I can start fresh?...

Upgrade wasp from 0.16.0 to 0.17.1

Currently I have wasp 0.17.1 on my local. (MacOS) Earlier in package.json, I was having typescript version as below "devDependencies": { "typescript": "^5.1.0",...

Env vars validation failed

I just started get the "Env vars validation failed" error (Error: Error parsing environment variables) when I run wasp start. I don't recall ever working on any env variable. How do I fix this??

Save accessed path before 401 /login redirect

Unidentified user goes to /:someid /:someid it's with auth: true User gets redirected to login Goal: after success login, redirect user to that path that accessed initially...

200 Response From Signup In Prod, But No Email

@kapa.ai After getting my app deployed on Fly, I am able to get to my landing page successfully via my custom domain and interact with the login and signup screens. However, when I register via email/password, I am not getting the registration email. In my console's network tab, I see a 200 response from https://xyz.app/auth/email/signup after I click the register button. The remote address in the request matches the IP of my Fly xyz-client app. I have already reset the MAILGUN_API_KEY and `M...

Is it possible to user my own email provider rather than SendGrid & Mailgun?

I'm currently using Resend for all my production apps and I would like to only stick to one email provider rather than switching to SendGrid/Mailgun

What's the best and recommended way to implement global theming (e.g. light/dark mode) in a Wasp app

Should I handle it purely on the frontend (React context / Tailwind + localStorage), or is there a more idiomatic Wasp way to do it — maybe involving user preferences in the DB? Would love to hear how others approached this 🙏...

Add CAPTCHA to the API

I want to call the API but with Captcha verification? site.com -> Something that is not Wasp api.site.com -> Wasp backend ...

why does every request get sent twice

Every api call i make using wasps axios wrapper is double calling the endpoint: [ Server ] GET /api/messaging/users 304 2.818 ms - - [ Server ] GET /api/messaging/users 304 2.818 ms - - [ Server ] GET /api/messaging/conversations 304 2.660 ms - - [ Server ] GET /api/messaging/conversations 304 2.660 ms - -...

Alternativa WS3

Can I use Backblaze in storage instead of using Amazon's S3?