opensaas favicon
hi, how do you change the favicon using opensaas? I’ve changed the file in static, but I think it doesn’t change the favicon too.
Getting off waspi
im terrified of vendor lock in. If i build an app with wasp and it generates the app via the wasp compiler or whatever, is it possible to just take that code and get off wasp? Im not against being on some platform but im scared of being completely controlled by the whims of a small OSS project.
how to start...
Okay, I've done wasp and opensaas.sh getting started. Now i'm just wondering where i have to start?
It's a bit confusing to start with template, it has a lot of features that i don't need.
Should I copy and paste every feature I need from it? Like auth, etc.. in main.wasp and every associated files?...
How to check if logged in on client/frontend?
Hi there, maybe this is a question with an obvious answer in the docs, if so then i am sorry.
But I am currently wondering if there is a way / a function to check if you are currently logged in on the frontend?...
How to interact with database in prisma studio after deployment?
After deploying I set DATABASE_URL=<database_string> in main.wasp to try and see if i could interact with it like we could in development using
wasp db studio
,
i also triedexport DATABASE_URL="<database_string>"
npx prisma studio --schema=./.wasp/out/db/schema.prisma
...
Reorder predefined fields in auth forms
I am just wondering is there anyway to reorder the fields in the auth form? I have added in 2 new fields, first name and last name. And ideally i would like those to appear before the password field but at the moment it seems it can only go after them with the additonalFields prop
Stripe Webhook Server in production
Hi! How should set up Open-Saas on Fly.io to also have my Webhook Server running? Do I need to run another fly machine that is just for the webhook server?
Or can I run it in my same Server instance?...
How to I set/import REACT_APP_SOME_VARIABLE_NAME for client side when in production on fly.io?
I use import.meta.env.REACT_APP_SOME_VARIABLE_NAME in my code base with setting client secret in fly.io dashboard but was not working. I also tried import.meta.env.REACT_APP_SOME_VARIABLE_NAME and process.env.REACT_APP_SOME_VARIABLE_NAME
seo and ssr
Hi team, just reading about how server side rendering are related. Next apps have good seo because of ssr. How does wasp or vite help with this or seo?
wasp db reset showing help instructions
I am trying to setup a seed function and thus wanted to reset my db.
According to the docs: https://wasp-lang.dev/docs/data-model/backends#running-seed-functions I am supposed to run
wasp db reset
.
Sadly this only triggers the help
call:
```
MyApp% wasp db reset...i am having issues installing wasp
i removed and reinstalled curl but i still get the error message in the image
Need help deploying application to Fly.io
Hi! I am having some issues with deploying my app to fly.io. I am using the open-saas template and I have created a simple notes apps that I am trying to deploy. I keep getting an error regarding 'src/router.tsx' but when I search the files I cannot find a file by that name anywhere. Please attached images for error. If anyone has any ideas I would appreciate it. So far I tried finding the file but could not find it. I also tried updating wasp and updating react versions. I also googled the erro...
How can I authenticate a user from a mobile app
I was wondering, if a user has been authenticated using wasp auth from the website, how can I authenticate that user from my mobile app? Is there any sort of API that I need to use for it?
Sorry if my question is too noob. Web seems very vast and overwhelming, I am just looking for something easy.
So far I have been using firebase to authenticate users and do the subscription through App Store. But I need to have a web authentication now...
live server not updating
hi all, using opensaas.sh repo with wasp. got everything working great but the only issue i have is my live server doesnt update, if I mess with files such as .wasp and or src/client files and go to save them the live server won't update. if i want to see changes i have to re-do 'wasp start' after closing my vscode out. anyway to fix this?
Older node version still needed?
howdy yall, working on some documentation for the wasp project we just got running as a demo. In the getting started docs it says we should use a specific older version of node, but that results in me having to constantly switch node versions when needing to use specific non-wasp commands.
Wondering if this is still needed or if it should be fine to use most up to date node...
Why Vite, not Next ?
Hi team, just curious about this as I'm learning about full stack. Also, how do you make up for Next features not in Vite, with Wasp?
One thing I know of is how Wasp handles routes. Love it. Anything else?...
action calling action not working. Bad programming or issue?
Hi, i am using the latest wasp v12 version and started with a fresh saas template running on ubuntu Desktop 22.
I tested the Fileupload page and it works. Now i started developing my own page and action. The page will trigger a action and the action downloads a (for now) hard-coded file that should be uploaded with the createFile action. Meaning 1 action calls a second action. (My backup action calls createFile action). The first part, getting the file works but the calling createFile fails.
I copied the code from FileUploadPage.tsx into my backup.ts to trigger the upload. I changed the import in my backup.ts to:
import { createFile } from 'wasp/server/operations';
...useQuery in an eventHandler?
Is it possible to put useQuery in a click handler? Say I have a field that allows user to select a number, then I want to useQuery to fetch a custom query I wrote that queries the DB for a task with that number ID, whenever I do this I'm getting a react hooks issue about hooks can only be called in the body of a function component.
My component is a function component, not sure what is going on but it seems to be related to the useQuery call as when I remove it the error goes away. I'd like to also use it to set state with reacts useState, but not sure how to manage that either....
Wasp start
Hi everyone,
I am trying to use Wasp for the first time and although I was able to get all the dependencies and code, I can't seem to be able to run. This is that I get when I do from my mac. I'd appreciate any help
MyApp % wasp start
...