Bolt prompt
Real-Time Chat Application
WebSocket-powered chat with rooms, message history, online status indicators, and typing indicators.
Build a real-time chat application called {{app_name}}. ## Chat Type: {{chat_type}} ## Max rooms: {{max_rooms}} ### Tech Stack - Frontend: React + Tailwind CSS - Backend: Node.js + Express + Socket.io - Database: MongoDB or PostgreSQL for message history - Auth: JWT tokens ### Chat Rooms Create and join chat rooms. Public rooms: visible to all, join freely. Private rooms: invite-only, join by code. Direct messages: one-on-one conversations. Room list sidebar with unread count badges. ### Messages Send text messages. Markdown formatting support (bold, italic, code blocks). Image sharing (upload to storage). Emoji reactions on messages. Reply to a specific message (threaded reply). Edit and delete own messages. ### Online Presence Online / Away / Offline status. "{{user}} is typing..." indicator. Member list with real-time online status. Last seen timestamps for offline users. ### Notifications Unread message count badge on room list. Browser notification permission request. Desktop notification for mentions (@username). Notification sound (optional, muted by default). ### Message History Load last 50 messages on room join. Infinite scroll to load older messages. Message search within a room. Jump to specific date. ### Moderation Room admins can: kick, ban, mute users. Message reporting. Banned users list management.
Fill in: {{app_name}}, {{chat_type}}, {{max_rooms}}, {{user}}. In Loopy you fill these in a form and copy the finished prompt in one click.
More coding prompts
- CursorAdd File Upload with Cloud StorageMulti-file upload with type checking, size limits, virus scanning, cloud storage, and progress tracking.
- CursorAdd Redis Caching LayerCache-aside Redis caching with typed get/set helpers, TTL management, pattern-based invalidation, and monitoring.
- CursorAdd Stripe Payment IntegrationComplete Stripe checkout, webhooks, subscription management, and billing portal with idempotent webhook handling.
- LovableBooking and Scheduling SystemCalendar-based booking with availability management, confirmations, reminders, and payment collection.
- CursorBuild Admin Dashboard with CRUDData table with server-side CRUD, column sorting and filtering, bulk actions, and role-protected admin panel.
- CursorBuild Data Export FeatureExport large datasets to CSV or Excel with streaming for memory efficiency, background jobs, and signed download links.

