Wasp-lang

W

Wasp-lang

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

Join

how can i get a communities name

based off this ```ts function MainPage() { // ... return ( <div className="tasks">...

Creating DMG file with Electron?

Has anyone been able to convert their WASP app into a DMG file using electron or something else?

Question about client and server side data handling

So for my SaaS i have a big table (currently in postgressql) with products as entities if I tell this correct. So right now i have a test Table with the same format as my actual table but then with just test data in it. What I want is a page where the user/client sees all products and their data in a nice designed way. What is the best way of doing this? Before i thought i should deploy an API that connects to the db and then using this API i would dynamically fetch the data to create elements. I know that the boilerplate allows the actions/queries to get this data, but is this a good way for my application?...

How to implement file upload middleware for large video files in a Wasp app?

...trying to implement a video upload feature in our Wasp app that can handle large files (>50MB) using chunked uploads. We need to configure middleware for file uploads, but we're encountering issues with setting up express-fileupload middleware in Wasp. What's the correct way to implement custom middleware for file uploads in a Wasp app, particularly for handling large files with multipart uploads to an S3-compatible storage (Wasabi)?

Streamlit App on subdomain with wasp boilerplate for landing page and backend. possible?

I have my webapp build with streamlit and i'm wondering if I can use wasp boilerplate for the landing page/main website. like the opensaas.sh template website. I was thinking about running the streamlit app on a subdomain like "app.domain.com" and the landing page just the normal domain like: "domain.com". I would assume this is all possible because streamlit can be deployed to fly.io and wasp as well so i can run it on the same hosting. but I can't find any topics about this so i'm wondering if I'm missing anything here....

Tailwindui theme

Hi all, I'm struggling to install this theme https://tailwindui.com/templates/catalyst on a wasp project (open-saas.sh more specifically), and I have a lot of errors. Do you think, Is it possible to do it?...

Wasp issue

[ Wasp ] error TS2307: Cannot find module 'wasp/server' or its corresponding type declarations. Getting the above error when doing wasp start. Like I made changes main.wasp everything. Any way to solve this?

Nginx ssl certificates broke client/server communication?

Running Docker container with docker compose on digital ocean droplet. Containers: - wasp client (8043:80) - wasp server (3001:3001)...

Real time change in UI

Hey guys, so when I make any changes in the code. I have to do wasp start everytime. And it's taking lot of time for me. When I change anything in code I want it to be reflected real-time in the website. Is there anyway to do this???

How Do I Link Pages Correctly? Code Provided

Beginner Question. I'm needing help on getting my page to show/load. The first page (SignupPage.jsx) which is showing Joint Vibe, when i click on the Sign up button in the top right corner, it takes me to a black screen (SignupForm.jsx) My question is, how come a black blank screen is showing up instead of the code i have for SignupForm.jsx? I have provided files as well as the main.wasp and App.jsx files. If you're kindly able to explain in detail as you would to a child so that i stop getting...
No description

deployment with Digital Ocean

Hello everyone, after more than 5 months i’m near to the deployment of my wasp WebApp. I have chosen Digital Ocean as hosting and i would like to hear if someone have already deployed with this provider. What are the basic steps? I need to install directly PostgreSQL or is better to install Docker and after postgres? And after I need to run something else relevant with digital ocean? ...

Authenticated image download

Hi, I would like to implement a feature in OpenSaaS/WASP where users can publish some posts with images, but these posts should only be available to authenticated users (images shouldn't be public). I was thinking of using a WASP api, but then I cannot load images in React with a simple <img src="..."> tag....

server side imports of the form "./foo" used to work and now fail

Example: import { taskCache } from './config'; This was working for many versions. I've created a new branch, added a bunch of new code which appears to have caused a new issue with this import style....

General Q: on every branch switch, wasp/prisma wants to make a new migration, is this the right way?

If I have a feature branch B and I switch back to branch A, it seems that prisma wants to create a migration to get the database back to the state which is A. When I switch back to feature branch B, it seems that prisma wants to create a migration to get back to that state. [repeats] Is this the usual development paradigm? Creating new migrations each time we bounce to a different branch, or have I missed the proper workflow here?...

multiple features

Hi is it possible to create multiple pages for custom features with this boilerplate? Couldn’t acces internet so trying to figure out through this way. Thanks alot

Migration Issues 0.14

I migrated to 0.14 and currently getting the issue - [ Wasp ] ext-src/client/admin/components/Header.tsx(1,15): error TS2305: Module '"wasp/auth/types"' has no exported member 'AuthUser'.

After deploying, my wasp app says "This site can’t be reached" - it was previously working

I had my wasp app working as expected after deploying to my domain last week, but now when I try and visit it (https://www.microinfluencer.club/), I get this error - www.microinfluencer.club’s server IP address could not be found. It was working last week, and I noticed the app says it is suspended on fly (but the client app is accessible on fly). The domain itself was previously configured to vercel, but as far as I know I removed everything related to that in my DNS settings....

I don't have cookie consent files

for some reason i dont have the cookie-consent folder under /components?