JLegendz
WWasp
•Created by JLegendz on 2/28/2025 in #🙋questions
How do I access my prima studio for my app after it's deployed on fly.io?
@kapa.ai I did all of that, but now when I try to run wasp start db, it says:
--- [Error] You are using custom database already: -----------------------------
Wasp has detected that you have defined DATABASE_URL env var in your .env.server file.
To have Wasp run the dev database for you, make sure you remove that env var first.
And when I try to run prisma studio it says:
npx prisma studio
Error: Could not find a schema.prisma file that is required for this command.
You can either provide it with --schema, set it as
prisma.schema
in your package.json or put it into the default location ./prisma/schema.prisma https://pris.ly/d/prisma-schema-location
And when I try to run wasp start it says:
❌ --- [Error] Can not connect to database: ---------------------------------------
The database needs to be running in order to execute this command. You can easily start a managed dev database with wasp start db
.23 replies
WWasp
•Created by JLegendz on 2/28/2025 in #🙋questions
How do I access my prima studio for my app after it's deployed on fly.io?
@kapa.ai DATABASE_URL=postgres://<user>:<pw>@localhost:5432/<db_name>?sslmode=disable what user and pw do I provide here? Is it related to docker or fly.io deployment?
23 replies
WWasp
•Created by JLegendz on 2/28/2025 in #🙋questions
How do I access my prima studio for my app after it's deployed on fly.io?
@kapa.ai I see bind: address already in use. Can I use something other than 5432?
23 replies
WWasp
•Created by JLegendz on 2/28/2025 in #🙋questions
How do I access my prima studio for my app after it's deployed on fly.io?
I see bind: address already in use. Can I use something other than 5432?
23 replies
WWasp
•Created by JLegendz on 7/20/2024 in #🙋questions
Deployment Questions
Thanks for the response guys! I'm certainly getting close to the production milestone. I'm adding a few finishing touches, and then I need to create the production version of my stripe products, and finally integrate the stripe functionality into the mobile app. I'm using Wasp as my web app/ server, and using apis to power my mobile app. I'll be picking up dev again on Wednesday and I'll keep you all posted. I look forward to sharing in made-with-wasp when I get there. And yes I'll surely have a few questions along the way to get those finer details sorted. I appreciate the support.
9 replies
WWasp
•Created by fatima on 7/12/2024 in #🙋questions
Getting an error trying to get an existing wasp app started
31 replies
WWasp
•Created by fatima on 7/12/2024 in #🙋questions
Getting an error trying to get an existing wasp app started
Also, I’ll see if I can find it, but I asked a question awhile back about new entities not being recognized. It was because I had a ? on something that wasn’t supported. I’ll try to find the question.
31 replies
WWasp
•Created by fatima on 7/12/2024 in #🙋questions
Getting an error trying to get an existing wasp app started
Hi Fatima, I don’t think the bot can access files, but I’ve copied and pasted my code directly with success before.
31 replies
WWasp
•Created by Zuck on 6/12/2024 in #🙋questions
Can't redirect after action taken
No worries!
14 replies
WWasp
•Created by Zuck on 6/12/2024 in #🙋questions
Can't redirect after action taken
@Jacob Ferrari , hi, did you ever figure this out? I was going to suggest something along the lines of
I do something similar in my project. I think you just want to make sure the redirectUrl is ready, and THEN redirect. Just make sure you aren't redirecting prior to having the data.
Hope you firgure it out!
14 replies
WWasp
•Created by JLegendz on 5/27/2024 in #🙋questions
New user fields not recognized
I was able to get it working. Thank you all. I’m at work atm, but I’ll look over the responses here in more detail when I get off.
40 replies
WWasp
•Created by JLegendz on 5/28/2024 in #🙋questions
Accessing API endpoing from postman
In postman I was trying to do a GET on localhost:3000 and nothing would work. I assumed because my app ran on that port in the browser.
14 replies
WWasp
•Created by JLegendz on 5/28/2024 in #🙋questions
Accessing API endpoing from postman
Hey, I think my confusion here was that my dev server ran at 3000. My api was at 3001.
14 replies
WWasp
•Created by JLegendz on 6/2/2024 in #🙋questions
Stripe event for onMonthlyContinuation of subscription?
I was able to handle my logic in the existing invoice.paid event. Thank you.
6 replies
WWasp
•Created by JLegendz on 5/31/2024 in #🙋questions
useQuery server side?
Sounds good. Thank you. I just placed a TODO in my code to come back to this when I could get a little help.
7 replies
WWasp
•Created by JLegendz on 5/30/2024 in #🙋questions
Safe to do major prisma update?
Sounds good!
8 replies
WWasp
•Created by JLegendz on 5/27/2024 in #🙋questions
New user fields not recognized
No worries. I was about to get it working. I think it was mainly #3 in my post.
40 replies
WWasp
•Created by JLegendz on 5/28/2024 in #🙋questions
API Authentication
All the back and forth is because when trying to match the passed in password to the hashed password with bcrypt, it never matched. I eventually realized that bcrypt was the wrong tool to test the hash with. My goal when I get back to my computer this evening is to try and generate that jwt with wasp. Is that process documented? I didn’t see it last I checked.
64 replies
WWasp
•Created by JLegendz on 5/28/2024 in #🙋questions
API Authentication
Honestly im a bit ignorant to the best approach at this, but I’m building a mobile version of my app as well, and I want to allow mobile users to log into the wasp app, which seems to mean I need to create a login api. That’s what all this is about. I was passing a username and password, with the intention of then generating a jwt in wasp and sending that, and a refresh token back to the mobile user.
64 replies