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
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:
3. Enter the newly created directory and start the development server:
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?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
Check out this tutorial to see websockets + Wasp in action: https://wasp-lang.dev/blog/2023/08/09/build-real-time-voting-app-websockets-react-typescript
thanks a lot @miho @matija