Wasp-lang

W

Wasp-lang

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

Join

Give certificate to server or client (using fly.io)

I am using fly.io. I deployed my code to a URL. However I would like to map my domain to that URL. So, I would like to know several stuff, What does this command do? It should be server or client? fly certs add requestphotoedit.com --app mycoolapp-server Is it required? Or only putting A entry as below is enough?...

Integrate custom oauth provider with wasp auth and session entities

I'm working on an app for League of Legends players. Riot Games provides Riot Sign On (RSO) so players can authenticate as their in-game account. Is there a way to do this with api endpoints or some other method since it isn't a supported auth method?

network error when I try to sign in or add a task when running locally on linux

Hi, thanks for the awesome product! when i run locally, i didn't use the built in command to start the database from wasp becuase the docker on my linux is broken and i'm using podman...

Prisma error

I am using opensaas and i want to deploy on fly.io wasp deploy fly deploy running the command gets me this error: Error: failed to fetch an image or build from source: error building: failed to solve: failed to compute cache key: failed to calculate checksum of ref 6c61ec4f-9a90-4c04-bc2d-ef8244bc25ed::umw7sund1x3nfq8q0smrcxylb: "/prisma": not found ...

useAuth.ts

I'm using Opensaas and I'd like to add a guest user (non-login user). Is there an equivalent useAuth.ts file in Opensaas or other way to strucuture a guest user?

Stripe payment successful does not add credits

In development all is well, in production using stripe tesk key the payment processes successfully but the credits are not added to the account. I have added the webhook in stripe and the CREDITS_PRICE_ID PRO_SUBSCRIPTION_PRICE_ID and STRIPE_WEBHOOK_SECRET to the server and REACT_APP_STRIPE_CUSTOMER_PORTAL to the client....

can I implement another analytics tool like posthog?

I want to use posthog for product analytics, can I use the npm package and where should i initialize posthog. both on the frtonend and backend

Custom key file not able to be referenced after compiling

Is there a way to reference a google cloud key.json file after compiling? I currently have it placed in the /app directory and storing that path to the key as an .env var. Is there a way to make sure that file is also moved into the compiled project after running wasp start? Thanks for your help!

Facebook Auth

Hello everyone, did anyone manage to implement Facebook auth? Is it possible? Google auth doesn't work if the link is opened within Facebook for some reason, and email auth is a bit too hard (my target are not super young people), meaning that you need to add credentials, the email to verify your email goes always in spam, and if it's spam the link to click to open the app and verify is hidden, then if you manage to click that, you need to login by re-entering the credentials. Are there ways to make the process more frictionless?...

Can I swap out Stripe for my country-specific payment processor alternative?

The thing is Sripe is not used where I am from. Can I swap it out?

Migrate Waspello to 0.14.0 not functioning

Hello everyone, I pulled the updated repository that migrate Waspello to 0.14.0. I tried to add the definition of entities including 'User' from schema.prisma to main.wasp, but it still not functioning properly. Could anyone check if there are any steps I've missed? Any additional guidance or suggestions would be greatly appreciated. Thank you!

Did anybody manage to get particles.js to work as a background by any chance?

I have been trying the entire day yesterday to make particles.js work but never got there. What i tried was installing https://github.com/VincentGarreau/particles.js...

How do you use Fly.io (Best Hosting for wasp) for free?

OpenSaas team suggested me fly.io, I have successfuly deployed service to their server, but with out a trafic, it costs me 0.83 dollar, while it was active for the weekend. I remember that fly.io fast free? How to use it for free?
No description

Issue with creating jobs/workers

I want to create jobs/workers for functions that use external APIs such as OpenAI so they're also processed if the user closes/refrehes the page. Example: For an outline creation function I have created: 1) a job definition in the main.wasp:...

PGboss error on Linux server

Hello everyone, does anyone what is this problem when I want to run PGBoss on my server but it is working well on my local, I get this error:
pg-boss failed to start! error: no pg_hba.conf entry for host 10.1.143.190 , user octopus , database wasp_f994d74c_2fa3_4b4c_b3a6_bdaeee9f1ff8_40dd0d3a_28a9_4ea9_a2 , no encryption...

Cannot Access dB once Deployed...

Hi, all! I'm running into an error with any Wasp apps that use a dB after deploy. During development on localhost, the wasp client and server work just fine and the server connects to the dB (running on Supabase) just fine. The app works just fine. BUT THEN: I deploy the app and run into errors with the dB. The wasp server and client work with any page / function that does not call out to the dB. But when accessing the dB while deployed, I just get errors. I have my own servers I rent from Hetzner and am using Coolify to deploy. Once again, the server and client work fine and any page that does not use the dB loads up just as one would expect. Trying to log in gives me a "405" error when accessing the dB. Thinking the problem might be Coolify, I decided to deploy on Fly.io. This time, I get a "network error" when accessing the dB instead of a "405" error. THEN, I tried using the Postgre dB that Fly.io offers -- STILL get a "network error" when the app accesses the dB. My DATABASE_URL is properly set both on my Coolify instance and when I tried it on Fly.io. I have no idea what is going on. When running locally the app calls out to the Supabase db just fine, with no errors. I have spent several hours trying to debug this problem and all I have done is waste time and energy. Currently, I am only replicating the "Todo" app from the Tutorial -- so this is not some big and complicated App. I really want to use Wasp instead of having to learn Next.js....

What is the API endpoint in production?

My development environment has port 3000 for the app and 3001 for api. When I deploy to production the site works but the API endpoint does not seem correct. What is the API endpoint in production?

Need help incorporating existing project into this template

hi guys, this is my first time using Wasp, how do i incorporate my existing project into this template?

SubscriptionStatus and subscriptoinTier not getting updated in stripe test mode.

The subscription status and tier are not getting updated on default in stripe test mode. Is this expected behaviour? Will it work in the live mode, or does it have to be set up first?...

type declarations

Cannot find module 'wasp/client/router' or its corresponding type declarations.ts(2307) how do i download the type declarations...