Fecony
Fecony
WWasp
Created by nicop on 12/20/2024 in #🙋questions
Unable to start wasp
dam you @wardbox
20 replies
WWasp
Created by nicop on 12/20/2024 in #🙋questions
Unable to start wasp
No description
20 replies
WWasp
Created by nicop on 12/20/2024 in #🙋questions
Unable to start wasp
No description
20 replies
WWasp
Created by nicop on 12/20/2024 in #🙋questions
Unable to start wasp
@miho I tried to install roke and get this issue :be:
20 replies
WWasp
Created by Ivan on 1/3/2025 in #🙋questions
Is it possible to use https://github.com/adrianhajdin/ai_saas_app?tab=readme-ov-file with opensaas?
they have different data format as well so you can't just tell opensaas to use database x and it will magically show data.. still will have to update whatever is missing, + you will be left with part of the template that is not being used at all
16 replies
WWasp
Created by Ivan on 1/3/2025 in #🙋questions
Is it possible to use https://github.com/adrianhajdin/ai_saas_app?tab=readme-ov-file with opensaas?
it would be more like implementing features you like form one to another, since those 2 are different templates that use their own stack to run..
16 replies
WWasp
Created by Ivan on 1/3/2025 in #🙋questions
Is it possible to use https://github.com/adrianhajdin/ai_saas_app?tab=readme-ov-file with opensaas?
Then you could copy the admin part and integrate it in template that you like, but it would require adapting it to nextjs
16 replies
WWasp
Created by Ivan on 1/3/2025 in #🙋questions
Is it possible to use https://github.com/adrianhajdin/ai_saas_app?tab=readme-ov-file with opensaas?
What would be the point of using one saas template with another saas template..?
16 replies
WWasp
Created by indiehacker on 11/23/2024 in #🙋questions
How to distinguish users by where they were redirected before they logged in
"source" here is just identifier for developer basically it's a flag for you to understand where this request came from, if you can understand your own source, you can control where to redirect user In wasp I'm not sure if it is possible to rewrite auth entirely, but you could add additional field, - - add hidden field with _source to form - store source for user - check source on after login or use before and after auth hooks to do this with some sort of storage for this user's request, there are some hints to store something for request and then access it in onAfterSignup/onAfterLogin on this page https://wasp-lang.dev/docs/auth/auth-hooks#executing-code-before-the-oauth-redirect but I'm not sure what would be the best way Maybe of course there is something more straightforward but that's up to wasp team 😅
20 replies
WWasp
Created by indiehacker on 11/23/2024 in #🙋questions
How to distinguish users by where they were redirected before they logged in
Usually common practice would be to add to query from where user came from, like source=whatsapp and so on. then on your server you can use that to return different redirect url's for example
20 replies
WWasp
Created by CamBlackwood on 10/9/2024 in #🙋questions
Is it good practice to call an action in a job in wasp?
20 replies
WWasp
Created by CamBlackwood on 10/9/2024 in #🙋questions
Is it good practice to call an action in a job in wasp?
gpt answer
20 replies
WWasp
Created by CamBlackwood on 10/9/2024 in #🙋questions
Is it good practice to call an action in a job in wasp?
if it's only you then you don't really need to limit it then, but code wise logic is the same, to extract parts that actually do what you need. like imagine updating react state with api call and not local useState 😸
20 replies
WWasp
Created by CamBlackwood on 10/9/2024 in #🙋questions
Is it good practice to call an action in a job in wasp?
yeah, tradeoff is if it's expensive to call that API you would prefer to let user run it manually, BUT run it in a queue and then notify user that data/report/whatever is ready you don't want to let user click it more and more to drain out your limits 😸 it depends ofc.... what is that api and how frequently you want user to let it run, like maybe you can run it manually but then it won't be queried at night? or can query it once a day + at midnight anyway in terms of code your job doesn't have to call your own api via action, logic should be extracted from it and called in job, or action
20 replies
WWasp
Created by CamBlackwood on 10/9/2024 in #🙋questions
Is it good practice to call an action in a job in wasp?
Admin click -> action -> call service to do something Job -> call service to do something if an action is an api call you probably dont' want to call your own api from a job jsut ot do something :be:
20 replies
WWasp
Created by Sven on 10/7/2024 in #🙋questions
what is in essence the difference between a query and action
In the end of the day it’s just method call on server Ofc “properly” would be something you can mock and test or replace easily in future Like one query to check if something exists, and action to create would be easier to understand, action and query don’t have side effects(creating when you did just check something) Ofc having side effects like that depends on use case and how aware other developers are, in solo project it might be acceptable, if you won’t forget what that action did, and won’t wonder why it does return some default blank record that didn’t exist moment ago
7 replies