mailgunapierror method not allowed
When I try to send an email notification via the application using
emailSender.send({
to: email,
subject,...
Custom API endpoints - Port 3000
@kapa.ai - I've got a custom end-point that it supposed to trigger an API key getting regenerated and its not working. My frontend appears to be sending the request to 3000, but the backend is 3001. My current LLM agent wants me to edit the vite config, which sounds mental.
Can you give me some direct about what's going wrong here....
Populate a database field on SignUp
@kapa.ai When a user signs up, I want my application to automatically populate a field in the database, its called apiKey. I have created API logic GetApiKey and regenerateAPIKey already. What advise can you give to an LLM agent doing this coding.
Minimal working API with jwt example?
Hey, I'm liking the plug and play aspects of wasp. It would seem to me that you could easily add a bit more API support for beginners. (Parsing a basic jwt that we could later and more fields to + explaining how to create a new key when going to production) Any plans for this? In the meantime is there an API POC repo I can see something minimal doing this with wasp? I noticed you have all the client libraries, so I assume you handle caching the token, but it seems strange that you would do the...
More Tailwind troubles
I don't know what it is with Tailwind not liking me, but I followed the instructions exactly from a brand new blank Wasp app and it's not working. I've done it fine before, but now it seems to refuse to work. Is this just me, or are other people having issues as well?
Fly.io's WASP_SERVER_URL and WASP_WEB_CLIENT_URL
I'm setting up fly.io to deploy my application, and I need to setup the secrets WASP_SERVER_URL and WASP_WEB_CLIENT_URL. Where do I get those from? I thought they were provided by Fly.io, or do I have to setup domain names somewhere?
Cannot import json
In wasp 0.16.6 i get the following trying to import json files File '/Users/ertan/Documents/Rezervera/Rezervera/app/src/locales/en/en.json' is not listed within the file list of project '/Users/ertan/Documents/Rezervera/Rezervera/app/tsconfig.json'. Projects must list all files or use an 'include' pattern.ts(6307)
Disable server access log
How can I disable server access logs when running in docker container? I would like to have them when running with wasp start
Deploying to railway
What are the complete steps for deploying to Railway? My Opensaas application has a Git repo, and it uses Supabase as the backend
usemage query edit and app consistency with the versions working without error
Hello,
Thank you for this beautiful app and tool that we can utilize our projects.
I'd like to ask about the usemage query, why can't we edit or give/add additional tasks to the query. Also, how do we make sure that our app is consistent with the version we implemented the task and coming updates/upgrades.
Thank you....
client app env vars at run time vs build time
Hi, im trying to deploy a wasp application to a self hosts kubernetes cluster that could potentially have multiple environments so im not too keen on settings any client side env vars on build/ci for example here: https://wasp.sh/docs/deployment/deployment-methods/paas#3-deploying-the-web-client-
does anyone have any suggestions to configure this? im thinking to run the npm build on container runtime...
root layout
Hi guys, im new with wasp and i was wondering if theres a way to have a layout for some routes and no layout of others? for example pages inside /app should have a common layout but /login /landing etc shouldn't.
I've seen the client config example to add a root layout but that applies to every route, right?
Thanks!...
Stop Refetching on Focus?
Any way to make it not refetch the
/auth/me and my custom /get-user endpoints all the time? it's messing up some stuff in my app. I attempted to add some config to my useQuery(getUser), but that didn't help:
```
{
refetchOnWindowFocus: false,
refetchOnMount: false,...how can i get a dark mode theme on the login/sign up page
I am using open saas and the dark and light mode switch works on all pages but the login sign up page
Does wasp support subdomains like app.websitename.com?
If, so how can I implement it. I am using the opensaas template.
Client build failed. Error: Cannot find module @rollup/rollup-darwin-arm64.
wasp version 0.16.5
MacOS M3
I am trying to deploy my app via Railway. I am able to deploy server. But facing problem when building client /web-app.
...
Testing End Points
@kapa.ai - what is the best practise for testing custom end points? I understand that the frontend and backend are on different end-points, but is it literally just curl requests or postman?
@kapa.ai
I'm having some issues with Prisma Studio and the error message seems pretty generic.
Message: Error in Prisma Client request:
...
Extra fields in sign up
I'm trying to add
fullname as a data property when a user signs up. I have the following code:
```js
const emailDataSchema = z.object({
email: z.string(),
fullname: z.string(),...