How does the Wasp compiler work?

How does the Wasp compiler work? Do I still need the internet when using it?
K
kapa.ai18d ago
Hi @isaiah. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- The Wasp compiler is at the core of the Wasp framework. It takes the Wasp configuration and your Javascript code and outputs the client app, server app, and deployment code. This process allows Wasp to handle a lot of tasks for you, such as login and signup with Auth UI components, full-stack type safety, e-mail sending, async processing jobs, React Query powered data fetching, security best practices, and more. You don't need to write any code for these features, Wasp will take care of it for you. As Wasp updates, so does your app source (https://wasp-lang.dev/docs). As for your second question, the Wasp compiler itself does not require an internet connection to function. However, certain operations such as installing dependencies or deploying your application will require an internet connection. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ---------------------- Sorry @isaiah, I seem to be having a bit of trouble. Don't worry though, I've pinged my support and they will try to fix me up! :technologist: Perhaps try again in 15mins?
I
isaiah18d ago
@kapa.ai Which dependencies do I need to install every I use wasp start?
K
kapa.ai18d ago
Let me check the knowledge base for you. One moment! :books: ---------------------- When you run wasp start, Wasp will automatically handle the installation of necessary dependencies for your project. This includes both the dependencies specified in your Wasp project's package.json file and the dependencies declared in your .wasp files source (https://github.com/wasp-lang/wasp/issues/1597). However, there are some dependencies that you need to have installed on your machine before running wasp start: 1. Node.js: Wasp requires Node.js to run. If it's not installed, Wasp will warn you source (https://wasp-lang.dev/docs/quick-start#installation). 2. Docker: If you're using the dev database provided by Wasp, you'll need to have Docker installed source (https://discord.com/channels/686873244791210014/1215223623271321661). Please note that if you add a new dependency to your Wasp project, you might need to restart wasp start for the new dependency to be installed and used source (https://github.com/wasp-lang/wasp/issues/269). ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ---------------------- Sorry @isaiah, I seem to be having a bit of trouble. Don't worry though, I've pinged my support and they will try to fix me up! :technologist: Perhaps try again in 15mins?
I
isaiah18d ago
@kapa.ai Is Docker needed to use an sqlite database?
K
kapa.ai18d ago
Let me check the knowledge base for you. One moment! :books: ---------------------- No, Docker is not needed to use an SQLite database with Wasp. Docker is primarily used when you want to use the PostgreSQL dev database provided by Wasp. If you're using SQLite, you can run your Wasp app without needing Docker source (https://wasp-lang.dev/docs/data-model/backends#connecting-to-a-database). However, it's important to note that SQLite is recommended for quick prototyping and not for production use. For deploying a Wasp app, you'll need to switch to PostgreSQL source (https://wasp-lang.dev/docs/advanced/deployment/manually#deploying-a-wasp-app). ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ---------------------- Sorry @isaiah, I seem to be having a bit of trouble. Don't worry though, I've pinged my support and they will try to fix me up! :technologist: Perhaps try again in 15mins?
M
miho18d ago
The bot is doing a good job it seems 🤗
I
isaiah18d ago
Yeah so nice so far.
M
miho18d ago
Surprisingly good
I
isaiah18d ago
But won't this bot keep pinging you guys after every response?
M
miho18d ago
We still want to handle each question 🙂 we learn a lot about what people want and need If the bot answers a simple question 100% that's also cool 🙋‍♂️ but a lot of the questions are nuanced so we jump in
Want results from more Discord servers?
Add your server
More Posts
How can I use WASP on Windows?How can I use WASP on Windows?Disable google authHow to disable google auth in an existing wasp project that uses google auth?Error when trying to login with google oauthI recently migrated my codebase from 0.12.4 to 0.13.0 and I'm now having issues when I attempt to loPassword Reset token invalidationHey, could it be that a password token can be reused once it is used? Tried it 3 times with the sameMails not being sent (Mailgun and Sendgrid tested => both haven't even got an API request)Hey, I have setup my main.wasp with my email I have registered and set the APIKey - for password resuiWhich ui component library works well with waspRunning the backend as a regular node.js app?Hi, I'm wondering if it's possible to run the backend as a regular node.js application like 'npm staWhere to startIm a UI designer dabbling in trying to create my first app w/ GitHub code pilot as I’m not a developrunning wasp inside google idx errorI am trying to setup the dev environment test out opensaas with google online ide idx, but when I trApp crashed for unknowing reasonHey, I start the app when it's still v-0.12.0, it works fine till today, nothing changed on my end btrying to run wasp.sh server on dockerHey guys, so I tried dockerising wasp-sh after I saw it on your recent reddit post. 1. I created aConfused about [Client ]HMR[Wasp 0.13.0, MacOs] Hey guys, I am trying to update wasp header/nav bar to a new style with framerIssue with deploying my wasp app to fly.ioI'm trying to deploy my wasp app to fly.io, but I'm encountering an error that doesn't make sense. Whas anyone got shadcn to work with wasp? I am trying but keep getting an errorAttached is the error I am currently getting. Just wondering if anyone has had success with it?"wasp start db" takes too much time.Any solution for this? i seem to be stuck in a loop and i can't do "Wasp start" until this resolves.Best Practices for Implementing Auth System in Chrome Extension Connected to OpenSaaSHello, everyone! I'm currently developing a SaaS product and have created a Chrome extension. I'm aCompile / Parse error with the ToDoApHello all , I just downloaded and installed Wasp on Windows 11 with WSL2. The installation wenPossibility to disable wasp reload on UI file changes?Hey my dudes, is it possible to calm down this guy on the screenshot from reloading everything everyWhat's the best way to start with Wasp?I'm looking for the best way to start with learning Wasp.onAuthSucceededRedirectTo previous siteWhen I open a Link in my app where Auth is required but my session expired, I get redirected to the