Wasp-lang

W

Wasp-lang

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

Join

Pulling new changes for OpenSaaS/Wasp while maintaining my own repository on GitHub

Hi, I would like to create my own repository on GitHub for a project I'm working on using the OpenSaas template. This way, I can track changes and collaborate. However, if there are breaking updates to wasp in the future, how would I pull those changes into my own repository where I have my project?

Edit Body Tags

Hi, is there a way to edit the body tags? I'm trying to include some min-h-screen to prevent a whitespace being created underneath the footer when scrolling, but I'm unable to add the settings to body...

I want to have a trial period before the payment start kicking in. How do I do that?

I could get the normal payment to work. I looked through stripe document, I just need to add a field for
trial_end= and billing_cycle_anchor= , I don't know how to go about doing that in the Prisma....

actions

I'm trying to import actions and using it on server but unable to do so, getting module not found error but same works on client side why is that?

how do you guys manage dev and prod deployments?

So i have built my saas product front end with opensaas. Got me 60% through at god speed👌. Now i need to deploy it. As i got cool GCP credits under their startup program I would like to deploy it on GCP. Need Dev and prod env. Is there any documentation around it. i saw fly.io and netlify. I am primarily a backend developer 😬. Thanks to vince for opensaas....

Setting Environment-specific Values in main.wasp File

Currently, in WASP, we're able to insert static og:tags in the main.wasp file's head section like: https://github.com/wasp-lang/open-saas/blob/main/app/main.wasp#L8 However, I'm exploring the possibility of dynamically assigning values to attributes such as og:image and og:url based on the environment. For instance, in the staging environment, I want to set og:imageas "https://www.staging.com/public-banner.png", whereas in production, I'd like it to be "https://www.production.com/public-banner.png"....

Node version conflict between wasp and astro

As title, Wasp and astro has node dependency conflict. Any ideas? It seems like I have to degrade astro to fit the lower node version. Or I have to move blog parts to make it an individual project....

wasp db migrate-dev and wasp db studio not showing any output during installation of Open-SaaS

Sorry for asking such a basic question, I've been trying for a few days and can't figure out what I've done wrong. I've followed the getting started page, successfully installed wasp etc, but when I get to the command wasp db migrate-dev, I see no response from the terminal. Running wasp db studio likewise returns nothing. In docker I can see the volume wasp-dev-db-SaaSTemplate-1f16d4fc1d and a postgres image.
GPT-4 tells me I should see a prisma schema file created in the open-saas directory, but I don't see one. ...

Why not Node 20 yet and still npm to install packages

I forked trackit which uses opensass template of wasp. though I successfully ran the project locally, I have 3 questions 1. why can't use 20 yet for wasp? right now I am using 20 lts with all my projects, working fine so far. 2. why can't choose package manager? I usually use pnpm and recently started using bun 3. saw this warning in the wasp docs "Experiencing the 'Bad CPU type in executable' issue on a device with arm64 (Apple Silicon)", didn't use it yet, is it mandatory? my cpu is m3 pro,...

Oauth redirects to localhost:3001 instead of 3000

Hello guys, i am using the saas template with Google Oauth. But when I try the Google auth it does not work and redirects to http://localhost:3001/auth/google/login instead of http://localhost:3000/auth/google/login. Any idea what i am doing wrong here ?...

Use Oauth protocol with other than Google or Github

We want to integrate with Keycloak Oauth, but it doesn't seem to be possible. Since Oauth it's and standard, shouldn't be a method to integrate with any system using Oauth and not just Google or Github?. I mean, it'd be good if you can customize Oauth integration with any given system that offers this protocol

Using actions inside workers - is it possible?

Hey guys! I'm trying to use an action, imported like this:
import markTodoAsDone from '@wasp/actions/markTodoAsDone.js';
import markTodoAsDone from '@wasp/actions/markTodoAsDone.js';
...

can I add a assets on the server side? a folder a config file etc

Try different way to include a yaml file but could not

How do I resend an email verification email?

I am getting a token expired error when verifying email. How do I resend an email verification email (with a valid token)?

file download from s3

Hey! I am building a platform with file upload. i used the open saas guide for file upload. what's the best way to ensure file download, aws only supports a presigned url for a max of 7 days. what should i do?

hi why iam this problems?:

bala@b4l4:~$ curl -sSL https://get.wasp-lang.dev/installer.sh | sh Installing wasp version 0.11.8 (latest). Found an existing installation on the disk, at /home/bala/.local/share/wasp-lang/0.11.8. Using it instead. ...

Jobs - Output type error following the example in docs

Hey guys! I'm following the docs on how to create a job (https://wasp-lang.dev/docs/advanced/jobs#job-definition-and-usage). Unfortunately, I'm having some type errors. I'm using openSaas template. `` export const foo: MySpecialJob<Input, Output> = async ({ name }, context) => { console.log(Hello ${name}!`);...

Wasp developer?

I have built a saas API service and used wasp opensaas to develop front end myself. I want to focus on core API improvements which is in python, and having difficulty finding time to work on front end. Where can I find developer to work on my front end using wasp ? Someone who understands ins and outs of wasp can do the work faster than someone like me who’s a beginner…...

OpenSaas usage for android / ios apps

Hello, .net dev here who enjoys working on mobile apps. I've used platforms like ionic in the past to deploy apps to android/ios store. Planning to dig into Opensaas more seems like a great starting point. I'm wondering if anyone as experience getting this setup to work on mobile apps? Possibly using a library like capacitor.js? Thanks!!

Preserving Query Parameters in Google Social Auth Redirects

I'm currently integrating Google Social Auth into our application. In certain instances, our login URLs contain query parameters. After users successfully authenticate through Google, we need to ensure that any query parameters from the original URL persist in the redirect URL. For instance, if a user clicks on the following link without an active login session: https://my-application/chat?message=hello...