W
Wasp-lang•7mo ago
coder313

Can someone help me in making chat application using wasp

Hey I was trying to make random chat app to learn more about mern, but now i am clueless. Can someone please help me
4 Replies
kapa.ai
kapa.ai•7mo ago
Hi @coder313. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- Sure, I can guide you on how to start a new project using Wasp, a framework for React, Node.js, and Prisma. Here are the steps: 1. First, you need to have the latest version of Wasp installed locally. If you haven't installed it yet, you can follow the QuickStart guide (https://wasp-lang.dev/docs/quick-start). 2. To set up a new Wasp project, run the following command in your terminal:
$ wasp new ChatApp
$ wasp new ChatApp
3. Enter the newly created directory and start the development server:
$ cd ChatApp
$ wasp start
$ cd ChatApp
$ wasp start
This will start the server and when everything is ready, a new tab should open in your browser at <http://localhost:3000> with a simple placeholder page. For a more detailed guide, you can follow the Todo App tutorial (https://wasp-lang.dev/docs/tutorial/create) which will take you through all the core features of Wasp. Although it's a Todo app, the principles are the same and you can apply them to your chat application. If you get stuck at any point, you can reach out to the Wasp community on Discord (https://discord.gg/rzdnErX) for help. You can also check out the Wasp CLI Reference (https://wasp-lang.dev/docs/general/cli#overview) for a list of available commands and their descriptions. Remember, building a chat application will involve understanding and implementing real-time communication. You might want to look into Web Sockets (https://wasp-lang.dev/docs/advanced/web-sockets) for this purpose. Good luck with your project! ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ---------------------- Sorry @coder313, 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?
miho
miho•7mo ago
The bot is correct, it should help you to start with the Wasp tutorial 🙂 Also, we have an example app with websockets https://github.com/wasp-lang/wasp/tree/release/examples/websockets-realtime-voting
GitHub
wasp/examples/websockets-realtime-voting at release · wasp-lang/wasp
The fastest way to develop full-stack web apps with React & Node.js. - wasp-lang/wasp
coder313
coder313OP•7mo ago
thanks a lot @miho @matija
Want results from more Discord servers?
Add your server