Wasp-lang

W

Wasp-lang

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

Join

google auth on fly.io with opensaas/wasp

when pushing my locally working google auth test project up to fly.io, I hit a cors issue, before I start digging around, anybody know where the cors fix is? login:1 Access to XMLHttpRequest at 'https://loginwork-server.fly.dev/auth/me' from origin 'https://loginwork-client.fly.dev/' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource....

Is there any pre-defined package (or recommended) to create robots.txt?

I was wondering whether there is a quick way to configure robots.txt in Wasp.

Running wasp db migrate-dev gives permission error

Anyone know why i get this error when running wasp db migrate-dev
wasp-bin: /home/royex/Kalk_royex-nldm5/.wasp: createDirectory: permission denied (Permission denied)
wasp-bin: /home/royex/Kalk_royex-nldm5/.wasp: createDirectory: permission denied (Permission denied)
wasp verison: 0.13.2 platform: wsl ubuntu 22.04...
No description

Problems in action.ts

Hi, I have many issues in action.ts which where not there a couple of days ago. The code is compiling and working but vsCode shows all those problems. I already tried wasp clean in the cli. ...
No description

Is it possible to make the primary database in open-SaaS as mongodb ?

"I'm relatively new to this. I appreciate your understanding and guidance. 😊

do I need vike?

Mostly for my learning, I had this doubt about how https://vike.dev and Wasp share similarities or differences? For example, I know Vike provides easy routing, and so does Wasp. Is it meant to be used along with Wasp? I know it was recommended here in this Discord when it was called vite-plugin-ssr or something like that. Now it's called Vike.

Deploying Wasp/Open-SaaS to Netlify

Hello, I am a bit of a noob in deployment, so bear with my questions 🙏 I am following the Netlify deployment guide, but when I reach the netlify build command I don't see anything being built. You can see in the attached image my file structure (it is the default one in Open-Saas), and here is the content of my netlify.toml files: ...
No description

server env variables cause process is not defined

Wasp version - 0.12.3 Root .env.server with sendgrid api key Chrome macos...

tsconfig update for v0.13.1

Hey Guys, in your migration guide you state, that one should add two new lines to the tsconfig.json file. When I do so, my typings for Server-Operations don't work anymore. ```.js import { GetMyOperation } from 'wasp/server/operations' ...
No description

File upload preview

If all user uploads are images hosted in s3, how would I go about generating a preview of the image that is shown within the UI?

Subscribing to database events with @prisma/extension-pulse

Is it possible to suscribe to database events with pulse for the moment? If not, how can I follow easily database event for the moment?...

Not implemented Server start

I followed the guide without problems, I started the opensaas project but when the server starts the React page gives me Not Implemented

OpenSAAS for a Course website

I'm in the process of launching a SaaS website aimed at selling text-based courses. I successfully deployed a minimal version of the website using a template from OpenSaaS. However, I'm at a crossroads regarding how to proceed further. While the Astro documentation engine appeared promising for integrating my course content, it redirects users to a different page or user experience (UX), which deviates from my goal of keeping everything unified within the main application. I'm seeking recommendations on how to implement a dedicated section for my text-based courses that supports authorization with both free and premium (Pro) access levels. Specifically, I want to ensure that certain sections of the course are exclusively visible to Pro users. Could you advise on the best approach to achieve this while maintaining a seamless user experience within my main app?...

Authentication Issues Live

Latest Wasp on WSL, using Open SaaS
Google login/email login etc. works on local host perfectly fine. (wasp start) Testing on live website on a custom domain...

Stuck at this error

To run PostgreSQL dev database, Wasp needs docker installed and in PATH.

Lines of code of the Wasp compiler?

How many lines of code is the Wasp compiler?

How to use wasp deploy fly deploy command in github actions

So I've been trying to create a CI/CD pipeline for my wasp web app and I'm trying the automate the deploy process for my app with wasp deploy fly deploy in my github actions. This is what I have in my fly.yml currently: ``` name: Fly Deploy on:...

Checking certs for custom domain

WSL , latest wasp version Trying to figure out how to check my A and AAAA records for a domain I've chosen after the initial set up. (stuck to https://wasp-lang.dev/docs/advanced/deployment/cli#using-a-custom-domain-for-your-app) I realized, that on my domain host it had the original DNS still there with the new, which I think stopped my custom domain from going up. ...

Database not connecting on fly.io

Latest version of wasp (updated this morning, but persisting through previous version) Running on WSL Image attached of error (network error) being there, and the console log on browser. ...
No description

How to Pass Additional Parameters in SSO Login

Hi Team, I'm currently working on a custom Sign In/Sign Up authentication flow using Google authentication. During sign-up, users need to check two checkboxes(refer to the screenshots), but this requirement doesn't apply during sign-in. I've implemented the logic and basic client side error handling in React, but I'm unsure about the following: I need to ensure that new users have accepted both checkboxes before granting access to our application....
No description