Wasp-lang

W

Wasp-lang

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

Join

Help me create a new wasp project

Give me step by step guide to implement the following project description `Description Creating a real-time multi-user collaboration todo list application involves integrating features that allow multiple users to work together on tasks simultaneously Key Features ...

Sub page-level auth

So, checking the docs, seems like auth is enabled on a page level. If auth is enabled for a page, not-logged-in people can not access any functionality of the page. What if i want some select functionality to be available even to public, and some others to only logged in, in the same page?

Issues after fly.io deployment

Hello! I followed the instructions to deploy on fly.io, and after I did it, plenty of errors appeared in my VScode files for the project, and they're all about missing modules. I guess the deployment moved or removed some files somehow, but then how do I test locally before deploying if I can't because of many missing modules?...

rollup causing initiating error

I am getting this error upon attempting to wasp start a fresh project:
[ Wasp ] tsconfig.json(2,14): error TS6053: File '@tsconfig/node18/tsconfig.json' not found. [ Wasp ] ../../../../node_modules/vitest/node_modules/vite/dist/node/index.d.ts(5,41): error TS2307: Cannot find module 'rollup/parseAst' or its corresponding type declarations. [ Wasp ] There are types at '/home/hildrobby/MyApp/node_modules/vitest/node_modules/rollup/dist/parseAst.d.ts', but this result could not be resolved under your current 'moduleResolution' setting. Consider updating to 'node16', 'nodenext', or 'bundler'....

Adding Chat message persistency

Hello everyone, first of all, thank you for the open source project, it's very good! I'm trying to build some sort of personal assistant and for that I'd need the chat history to be saved somehow, but I can't manage for some reason, I tried with ChatGPT but I'm getting some import functions errors. Did anyone do this already and could help me with creating this chat history persistency logic?...

I am getting a 404 with a custom api when using a parameter

this is my wasp api api getPexels { httpRoute: (GET, "/api/get-pexels/:query"), fn: import { getPexels } from "@src/server/pexels.js", }...

Add Dependencies to wasp project

I tried to run "npm install -D @headlessui/react @heroicons/react" But this broke the wasp project, now it route directly to the directory listing. Does anyone know how to correctly include dependencies in a wasp project? Thank you very much!
No description

use auth when requesting a custom api without the api wrapper

Hello ! I'm having a small trouble, I've seen the example here to implement streaming capabilities. https://github.com/wasp-lang/wasp/tree/main/examples/streaming/src/client...

How can I create an onboarding flow where forms the user fills are saved to their account

How can I create an onboarding flow where I ask users questions and save their answers in the database, for use later? For example I ask them their favorite colour and I want to show it to them alter.

should an external api call to get photos be a query or an action or custom api

should an external api call for a get request to see photos be a query or an action or custom api

How to add custom Sign up field that refers another entity

I am trying to create a custom sign up where a User can select college and university through a drop down. This is my defineUserSignupFields method call: ``` export const getEmailUserFields = defineUserSignupFields({ username: (data: any) => data.email, isAdmin: (data: any) => adminEmails.includes(data.email),...

Email auth not working in fly.io

Locally, on http://localhost:3000/signup, the email sign up is working, as I have a sendgrid account with payment, and set the SENDGRID_API_KEY in env.server Once i deploy, with custom domain, to spectralhealth.ai, i can only see a network error. I dont see anything on server logs on fly.io. How can i debug. i have a lot of the envs set in fly.io...
No description

Learn about opensaas

Hey there! Jahan this side. I'm looking to become an indie developer, I have knowledge on front end ( react.js ) and a little knowledge of backend using python with no knowledge of databases. I'm having trouble understanding the whole structure of opensaas boilerplate. I would really appreciate if someone can teach me ( paid job ) and guide me through by actually creating a project....

Open SaaS template without some funcitonalities? (e.g., without Auth)

What is the best way to remove some functionalities from the Open SaaS template? e.g., if I want to remove Stripe payments, how should I do it (ideally in a clean way)? Because I tried removing the Stripe related parts from main.wasp, but that yields errors because of Stripe related imports, so I go to the .tsx files that do those imports and remove them, but then I get errors because of these later imports that have been removed, and so on. Same thing happened with Auth. Cheers!...

Issue with Environment Variables after Binding Custom Domain on Fly.io

I deployed my client application using the environment variable REACT_APP_STRIPE_CUSTOMER_PORTAL=https://billing.stripe.com/p/login/test_14k9Cw2nYgbz25i7ss wasp deploy fly deploy. Everything worked fine until I bound my own domain. After binding the domain, all the environment variables stopped working and I haven't been able to rebind them. How can I resolve this issue?

deploying to custom URL does not work consistently

hey folks, I bought a domain off squarespace, and I am trying to deploy my app there, it seems to work on an off, sometimes the app is there, sometimes auth works (login button shows), and sometimes it doesnt. here are the steps I've taken. my domain is yellowbirdapp.com...
No description

Updating existing installations

When you make a new release for WASP or OpenSaaS is there a way for existing installations to merge new changes to live installations without breakage? If there is no system for doing this then existing installations will be stuck with older bugs and miss out on new features

Where should I deploy my open saas app?

Is there a commonly preferred platform? What should I be looking for?

Setting Fly.io machine configuration using wasp CLI deploy commands

Hi Team, Is it possible to change the default configuration of Fly.io machines using the wasp deploy fly CLI commands? I would like to run my application on a larger machine or a non-shared CPU machine. Below is the configuration of the server instance created by the Wasp deploy Fly CLI commands:...