As a someone who recently built a chess app with Stockfish (WASM with a fallback to the server, see my profile if interested), just be aware that if your application becomes even moderately successful, a couple dozen users hitting your Stockfish server concurrently is very likely to be slower than running individual Stockfish WASM on the client side unless you significantly beef up your backend.