StackTalk is a collaborative project management and real-time chat application with AI-powered assistance.
This repository contains the React.js + Vite + Tailwind CSS frontend, designed to integrate seamlessly with the StackTalk backend.
- User Authentication – Register, login, and maintain secure sessions.
- Project Room Management – Create or join project-specific chat rooms.
- Real-Time Messaging – Powered by Socket.io for instant communication.
- AI Integration – Mention
@aiin chat to interact with Gemini for code generation. - Responsive Design – Works on desktop and mobile.
- Code Editing & Highlighting – Syntax highlighting via
prismjsand inline code editing withreact-simple-code-editor.
Frontend Framework: React 18 (Vite)
Styling: Tailwind CSS + PostCSS + Remix Icons
State Management: React Context API
Routing: React Router v7
Real-Time: Socket.io Client
HTTP Client: Axios
Code Editing: React Simple Code Editor + PrismJS + Highlight.js
Markdown Rendering: markdown-to-jsx
Directory structure:
└── saumyajeet-varma-stacktalk-frontend/
├── README.md
├── eslint.config.js
├── index.html
├── package.json
├── postcss.config.js
├── tailwind.config.js
├── vite.config.js
└── src/
├── App.jsx
├── index.css
├── main.jsx
├── auth/
│ └── UserAuth.jsx
├── config/
│ ├── axios.js
│ ├── socket.js
│ └── webContainer.js
├── context/
│ └── user.context.jsx
├── pages/
│ ├── Homepage.jsx
│ ├── Login.jsx
│ ├── Project.jsx
│ └── Register.jsx
└── routes/
└── AppRoutes.jsx
- Clone the repo
git clone https://github.com/saumyajeet-varma/stacktalk-frontend.git
cd stacktalk-frontend
- Install dependencies
npm install
- Set environment variables
Create a .env file:
VITE_BACKEND_URL = your_backend_url
- Start the dev server
npm run dev
- Build for production
npm run build
- Login/Register to access features.
- Create or join a project room.
- Chat in real-time with your team.
- Use
@aiin chat to request code generation.
- Fork the repo
- Create your feature branch (
git checkout -b feature-name) - Commit changes (
git commit -m 'Add some feature') - Push to branch (
git push origin feature-name) - Open a Pull Request
- Backend: StackTalk Backend
- Saumyajeet Varma: GitHub