Wasp

W

Wasp

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

Join

Security checklist with wasp

Hi, I've been building with wasp for the last 3-ish months. As launching is coming closer I'm becoming more and more concerned with security. Some steps I've taken are making sure npm audit reads 0 vulnerabilities, making sure backend functions only take/return/update what is needed, etc. ...

馃殌 EXPO + WASP: Help integrating mobile frontend with backend authentication! 馃攼

Hello world! I would like to develop a mobile frontend with EXPO and integrate it with the backend written with WASP. However, I have no idea how to use the authentication part (email and social) of WASP. Does anyone have any advice/guides on how I could proceed? Thank you!...

I want to test stripe payment in development env

I am using wasp opensaas, now i messed around a bit with my env vars and forgot which are productoin and which env, i want to test my payment system on the development mode. What variables and things do i need to check and change to test it?

script in head

I have this section in my main.wasp file: "head: [
"<meta name="viewport" content="minimum-scale=1, initial-scale=1, width=device-width" />", "<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />", "<link rel="icon" href="/favicon.ico" type="image/x-icon" />", "<script src='https://js.stripe.com/v3/' />",...

Testing dockerfile locally

After running wasp build on opensaas, how can I run the docker containers locally? what are the parameters/arguments needed when building the dockerfile and running the containers on my machine (Ubuntu via WSL)?

Does anyone have step-by-step instructions on implementing PostHog in Wasp by any chance?

Hoping to bypass my usual slog through figuring out a new integration 馃槄

[ Wasp ] core/auth.ts(17,7): error TS2742

I already did a wasp clean and wasp start. Last night worked fine, this morning is not compiling:be: : Why the error is in a compiled app file (.wasp/)...

Make a new price in strpie

I made a few prices for my stripe subscriptoin plans but i want to adapt them, however some of them have been used so i have to make a new price. What do i need to change in order to succesfully make a new price and use it on my saas.

I have npm vulnerabilities when i cloned my project again

How can i get ride of those vulnerabilities? npm audit doesn't work

Is it possible to create custom user roles with the current wasp auth? Such as non-admin staff

is it possible to create custom user roles without circumventing wasp auth? For example, would it be possible to create staff accounts that aren't admin but can view pages that noraml users can't? Am I overcomplicating this?...

Do client secrets have to be included in every redeploy or only for the first one?

It looks to me as if it's required to add the REACT_APP_STRIPE_CUSTOMER_PORTAL... before the wasp deploy fly deploy command every single time when redeploying. Have I misconfigured something or this this intentional? If it is meant to be like this, wouldn't it be much more convenient if the deploy command would grab that secret from env.client automatically?...

how to downgrade from wasp version?

Hi, how do i downgrade to an older version of wasp? It says for me: Wasp requires package "react-router-dom" to be version "^6.26.2" in package.json.

Help choosing ai image generation model

Hello guys. I have seen a couple project here built with wasp that involves image genaration. Never done it before and by doing some research i have found lots of models. So i am trying to narrow down my options. My use case: I want to generate images that illustrate scenarios related to to traffic rules, road signs, priority... school driving stuffs. And from that image user will have to answer whats happening in that feature, like which car should go first? The images can be 2D, since its whats present in most of the books, and quality just enough for one to see details like the sign, the road... Any siggestions? @Vinny (@Wasp) saw that you were doing a project that relates with image generation, can you please help me out here???...

Error when running wasp db migrate-dev

wasp db start works fine. but i can't get pass wasp db migrate-dev i am using WSL2...
No description

Need help integrating Starlight Blog with a multi-language Starlight site (EN/FR)

Hi everyone, I鈥檓 using Starlight in a multi-language setup (English and French), and everything works great as long as I only use Starlight. However, as soon as I try to incorporate starlight-blog, I run into various issues: 404 errors on the translated version, the blog layout not showing up correctly, etc. I鈥檝e tried different folder structures and adjusted my astro.config.mjs and content.config.ts files, but I can鈥檛 seem to get everything working together. ...

Error: Blocked request. This host is not allowed.

To allow this host, add to server.allowedHosts in vite.config.js.

Different ways to get the sessionId for a custom API call

I need to attach the Bearer authorization header to a custom API call. I am currently getting the wasp:sessionId from localstorage, which is not ideal. If I'm not mistaken there was an endpoint to fetch the sessionId from the backend? What is the call/endpoint again?...

Non-Dev question about APIs

I'm developing an app which will receive calls and return things to an extension. I have all the UI of my app and all the corresponding operations and queries to make it work as I want. In the extension I only have the UI and I want to implement APIs to complete its functionality....

New opensaas walkthrough vid needed.

Opensaas devs please do a new walkthrough detailing how to personalize the opensaas template and detail debugging steps for whatever errors may arise. Integration of an llm other than openai's chatgpt llm would also be helpful as it would be so easy to deploy a useful saas if only the learning curve wasn't so steep. If I have a guide start to finish with debugging examples I would be good.

static image reference in main.wasp

how do i reference static images in main.wasp? I want to populate the head property with some meta tags, that reference an image i have stored in app/src/client/static. i tried the below approach, but this did not work...