Wasp

W

Wasp

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

Join

Freemium Mode of User

can we server users on freemium mode if s/he uses free request calls then platform would ask to login and purchase the product? any help me out...

Insert User Name

Has a way to insert user name field?

Integration of Custom Third-Party Authentication in Wasp

I am currently developing an application using Wasp and aim to integrate a custom third-party authentication system. This system requires sending a combination of login and password to a specific API endpoint and receiving a DTO containing a user ID in response. My objective is to utilize this user ID to either log in existing users or create new accounts within my Wasp application, effectively replacing the default authentication methods. Could you provide guidance on the best practices for implementing such a custom authentication flow in Wasp? Specifically, I am interested in: The recommended approach to send user credentials to the external API securely and handle the response appropriately....

Clean Application

I'll develop an application that will me only crud, it will have: - Landing page - Login Page - Register page...

Heroku Server dont runned migration

I've created a heroku app, but when i've deployed it, didn't runned the migration

Deploy client problem

I'm receiving an error on fly.io, the client send the request to the back-end en recevies a 502 bad gateway error, in the fly.io the app is suspended, that's my url: https://my-wasp-todo-app-client.fly.dev

Accessing relation fields on logged in user

Say I have a User model that is defined with relation fields. For example a user can belong to many organizations. Is there a way to populate context.user with the related properties? Or do I need to query User with include every time I want to read the relation? I was looking at the docs for accessing the logged in user and didn't find an answer to this specifically. Wasp version ^0.15.0...

Roll back migration without destroying data

I have added a new model to my schema.prisma and run a single migration. I'd like to roll back my db to the previous migration, but it seems I am unable to do so without resetting the schema and dropping all my data, even though the table is not populated with any data. How can I migrate backward non-destructively? Wasp version ^0.15.0....

Deploy trouble

i'm receiving this error: Error: failed retrieving app my-wasp-app-dry-sun-4376-server: Could not find App "my-wasp-app-dry-sun-4376-server" šŸš€ There was an error running "wasp deploy fly create-db <region>". Please review the error and try again (if appropriate)....

Why that always that i click on screen the 'me' request is being done?

Why that always that i click on screen the 'me' request is being done? Is possible to set a timing to check this?

Authentication check every click

Why that always that i click on screen the 'me' request is being done?

Database Performance with WASP

I'm currently studying about the wasp solution to insert in one solution of my startup I saw that when you do any action like update a model name, for example, it load all the entity data If i have a relationship between two tables and list with any join, changing the entity will make load all the queries?...

SendGrid setup

Thanks for the video @Vinny (@Wasp) Did you have to setup verified domain and verified email in SendGrind for this to work?! I developed the whole thing locally while using dummy provider and now I’m trying to deploy to production but switching to SendGrid gives me a headache. ...

Unable wasp start with setting NODE_ENV=production

I have issue when I set NODE_ENV=production. If I set to development, it works. Can someone explain and tell me how to fix? 60.07 [ Wasp ] client/config.ts(3,47): error TS2339: Property 'env' does not exist on type 'ImportMeta'. 60.07 [ Wasp ] ext-src/admin/layout/Sidebar.tsx(3,18): error TS2307: Cannot find module '../../client/static/logo.png' or its corresponding type declarations....
No description

[Error] TypeError: Module name, '.prisma/client/index-browser' does not resolve to a valid URL.

I ran into an issue after deploying to fly.io which I believe is related to Enums: [Error] TypeError: Module name, '.prisma/client/index-browser' does not resolve to a valid URL. I used something like import { PostStatus, MediaType } from '@prisma/client'; to have types on the client. ...

How to get credits ammount of a specific user

How to get credits ammount of a specific user with wasp opensaas template ?

new install of Wasp and a template is having DB connection issue

If my newly install of Wasp and a template is having DB connection issues. should I just uninstall and reinstall? it's being hosted locally on an old computer i had laying around. I beleive i have installed docker that is spinning up postgresql. I can run wasp DB start. it appears to be running. I can run wasp start. the template is running, i can access the website. I'm not able to signup a new user. i'm not able to get to the admin page. when i try and sign up a user. it displays a "...

Is open saas / wasp multi-tenancy

Is open saas / wasp multi-tenancy or support multi-tenancy, if not how would i go about implmenting that?

What's the best approach for running a discord bot within a wasp app?

here's an example ``` // Require the necessary discord.js classes const { Client, Events, GatewayIntentBits } = require('discord.js'); const { token } = require('./config.json');...

Is there a way to autofill the username based on the link in the login and signup forms.

I have created a system to invite a user via a link and when the user clicks on signup link he lands on signup page but the username field remains blank. I would want to pick it up from the URL query params and fill into the username field. #frontend #login...