Wasp

W

Wasp

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

Join

TanStack Tables with WASP?

I'm building a SaaS platform which can be oversimplified to a collection of features built into a table. Thus far, I've done really well building my own table from scratch, but as I'm implementing more features I'm finding my Table foundation is less extensible and accurate as the required scope becomes more complex. Before continuing my development, I'm at a crossroads. Either I refactor my existing Table schema, or I redesign my features to work with a more robust framework like TanStack Tables, which seems like potentially a smarter direction to go in. Does anyone have experience using TanStack Tables w/ WASP? Any potential pitfalls to look out for?...

Problem with custom signup Invalid credentials on Login.

Hi @kapa.ai , ​​ I'm using the function "import { signup } from 'wasp/client/auth';" to register the user with email and password. The registration is successful but when I try to enter with the email and password used during login it tells me "Invalid Credentials" even though the user has been correctly registered. The only way to access is by resetting the password....

How to change /email-verification path properly in OpenSaas?

Hi @kapa.ai , I would like to change the path of the /email-verification route in OpenSaas, I could easily do it from the Main.wasp file but unfortunately I can't change the value that is passed to getVerificationEmailContent in /src/auth/email-and-pass/emails.ts Can you help me understand how I can change the value of the path of the /email-verification route appropriately?...

How to custom redirect after signup with custom signup form?

Hi guys, I'm creating an onboarding process in OpenSaas and I'm managing, through a custom form, the signup. I'm invoking the function "import { signup } from 'wasp/client/auth';" in case of registration with email and, I would need to make the user land on a specific page. At the moment the user is redirected to the default login page. Do you have any suggestions?...

Should migration.sql files be checked in to git?

I'm not sure if these should be ignored or checked in.

Refresh problem

another new person question: Wasp doesn't appear to be re-compiling when I make changes to frontend source. Still following the ToDo App tutorial and I just replaced the entire contents of MainPage.tsx to go from a single <p>Hello world!</p> element to rendering a list of tasks, but my terminal where wasp start is running never changed and refreshing the page doesn't show my list. If I kill the wasp process and do wasp start again, everything is fine. I do see in the terminal output that nodemon is watching these extensions: ts,mts,js,mjs,json but not tsx (and also jsx). Could that be causing this or do I need to look at something else?...

Change tab title to what page user is on

how do i change tab title to what page the user is on? for example "SaaS - Dasboard"

How did you get the name "Wasp"?

I'm intrigued! Wasp seems intriguing. Like, we have Deno, Node, Bun, Astro, Next, Nuxt, Svelte, etc. What does Wasp stand for or originate from? I'd love to learn

Experience setting up wasp on an ARM-based laptop?

Hello! Just wondering if anyone has any experience setting up wasp on an arm-based laptop since I'm running into some troubles:) ``` ruben@Papillion:~$ wasp --version /home/ruben/.local/bin/wasp: 2: /home/ruben/.local/share/wasp-lang/0.16.2/wasp-bin: Exec format error...

Is it possible to configure Wasp to use a different package manager?

Wasp uses npm when creating a new project (I just made my first one following the Quick Start page) and I was wondering if it is possible to use yarn instead?

How can I prevent google login to automatically login with the latest chosen account?

I would like to have the option to choose which google account to sign in/up with

How to use wasp cli with a built project on a prod server?

Hi! I'm trying to release my first project with WASP on a staging server. I would like to understand how I can use the wasp cli with a built project. The idea is to be able to use the "wasp db" features mainly, such as the ability to seed or access "wasp db studio" even if it is not a recommended practice in production....

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.