Wasp-lang

W

Wasp-lang

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

Join

Prisma Studio for a deployed app

Hi how do I access the Prisma user management in a deployed app? I'd specifically like to see which files a user has uploaded

How do I implement text streaming from the openai api

How do I implement text streaming from the openai api

CORS error while trying to sign up - deployed everything in railway

Everything is deployed in railway and all active but when I go to the signup page I get CORS error. I also checked the deploy logs in railway for the front and say this error while listening to the port 0.0.0.8043. Deployed app url -> https://client-production-4576.up.railway.app/signup Thanks in advance 😄...
No description

Hello,

How i can "manualy" activate user who didnt click on confirmation mail?

Open Graph

How do add a link preview (aka Open Graph)?

open API documentation

How to add swagger open API documentation in open saas template?

Next.js vs. Wasp: Best Path Forward for a New Developer?

Hi everyone, I've just finished learning the basics of React and I also have experience with Node.js, Express, MongoDB, and Mongoose. My next plan was to start learning Next.js due to its server-side rendering (SSR) capabilities, which can improve performance and SEO. Recently, I came across an Open SaaS template that uses Wasp. I'm really intrigued by how quickly I can set up features like authentication and other functionalities using Wasp. Now, I'm at a crossroads trying to decide what to learn and use next for building applications....

Issues with MailGun

I'm attempting to add MailGun as my email provider, but running into some issues - whenever I attempt to use mailgun, I get a dependency error from ts-mailgun:
Uncaught TypeError: Cannot read properties of undefined (reading '__agent_base_https_request_patched__')
at ../../../node_modules/proxy-agent/node_modules/agent-base/patch-core.js (ts-mailgun.js?v=6165f70e:822:23)
Uncaught TypeError: Cannot read properties of undefined (reading '__agent_base_https_request_patched__')
at ../../../node_modules/proxy-agent/node_modules/agent-base/patch-core.js (ts-mailgun.js?v=6165f70e:822:23)
I investigated this and whilst there's little info online, I did find this on stackoverflow which says that version 0.5 (the version of wasp) has the issue, and 0.18 fixes it - https://stackoverflow.com/questions/50906419/cannot-read-property-validate-of-undefined-in-mailgun-js I am using wasp v0.13.2...

missing an opposite relation field

In a marketplace app, I have a JobAd entity that is created by an owner of type User. At some point in time after posting the JobAd, another User locks herself as the provider for this JobAd. I believe the entity definition should be entity JobAd {=psl id Int @id @default(autoincrement())...

Timestamp with time zone attribute in PostgreSQL Database

Given I use a postgres database and I want to add a "timestamp with time zone" attribute to a given WASP entity, what's the correct syntax? entity JobAd {=psl id Int @id @default(autoincrement())...

How do I add a different chatgpt api call

Hey folks, I want to add another form, and take those form parameters and embed them into a chatgpt prompt and fire off and display the response to users, however I am having trouble understanding the flow of the current gpt prompts andhow to build another. Thank you

Can't find variable: process

I am lately getting ReferenceError: Can't find variable: process which is caused by /server/config.ts and points to: ``` all: { env,...

Adding New Page

Hi, I'm new into fullstack. I want to add a new custom page that can be navigated from nvaigation bar at top (Features, Pricing, ...). Not sure what's the correct way or is it as simple as adding a file "XPage" under app folder? I searched for a tutorial page but could not find it so far. Appreciate the help.

no changes on page problem

I'm doing the ToDo Tutorial and when I save a change nothing hapens att the page. If I close the "wasp start" and do "wasp start" again it show the new change but not as it is running? How to solve this?

Deployment Options

Hi, I understand the recommended deployment is fly. I would like to ask if anyone can share their experience deploying on vercel or GCP Cloud Run. Perhaps comparison of these 3 would be apprecciated: Fly, Vercel, GCP Cloud Run.

Stripe event for onMonthlyContinuation of subscription?

In the open-saas template there's the one time payment option to receive 10 credits. I'm making one of my tiers come with 50 credits per month. What's the recommended way to check for if the payment for the next month has been received so that I can add 50 more credits to the user's account?

stripe integration testing on local gets me 403 using gmail

stripe integration testing on local gets me 403 on email , I havent tried deploying it yet

I am getting a 403 on sendgrid sending locally

Hey folks, While trying to follow the tutorial and setting up a sendgrid account and linking it in my main.wasp file, I get a 403 whenever a user on localhost tries to sign up. I haven't deployed this at all yet as I'm going step by step through the tutorial. My API keys are correct...
No description

wasp start db hanging

Hi 🙂 I'm trying to start the database for the first time but the wasp start db command hangs: ```...

Mage Giving Error

Hey I am using wasp 0.13.0 and used mage to create the framework for a website I am making. Ive tried it twice but it gave the same error both times when I try running it in local host with wasp start. What could be the issue? (I attached a picture of the page it shows me)...
No description