arghittu_thms
WWasp-lang
β’Created by arghittu_thms on 8/14/2024 in #πquestions
share functions between server and client
Hi, I'm seeking clarification on how functions are shared between the server and client. According to the documentation, 'Operations' (like actions) are used to modify data in the database, with the functions being executed on the server side.
My question is: can 'actions' be utilized to create server-side functions that do not interact with the database, or is it necessary to write the logic separately and then import it into client files? If the latter is correct, how does Wasp differentiate between server-side and client-side code?
Thank you for your support!
7 replies
WWasp-lang
β’Created by arghittu_thms on 7/23/2024 in #πquestions
Error launching a new wasp project
HI! I'm starting to explore Wasp, but I've already come across a problem: simply trying to create a new project and run it with wasp start, I get these errors: anyone have any ideas?
I use wasp on a WSL2
Wasp version 0.14.0
Node version v18.19.0
8 replies