The official frontend for Sphere a modern community and news platform built with React, Vite, and Tailwind CSS.
- π JWT Authentication (Login & Register)
- π Home Feed β posts from all communities
- ποΈ Communities β create, join, browse
- π Posts β create, vote, comment
- π¬ Nested Comments
- π° News Feed β categories & search
- π€ AI Insights powered by Groq
- π Real-time Notifications via WebSocket
- π Direct Messages β real-time DMs
- π€ User Profiles β follow, block
- π Dark UI β black & white theme
| Technology | Purpose |
|---|---|
| React 19 | UI Framework |
| Vite 7 | Build Tool |
| Tailwind CSS | Styling |
| Axios | API Calls |
| React Router v7 | Navigation |
| SockJS + StompJS | WebSocket / Real-time |
- Node.js 18+
- Sphere Backend running on
http://localhost:8080
# Clone the repo
git clone https://github.com/Sumeet-Y1/Sphere-Frontend.git
cd Sphere-Frontend
# Install dependencies
npm install
# Start dev server
npm run devOpen http://localhost:5173 in your browser.
src/
βββ api/ β Axios instance & API calls
βββ components/ β Reusable components (Navbar, etc.)
βββ context/ β Auth context
βββ hooks/ β Custom hooks
βββ pages/
β βββ Auth/ β Login & Register
β βββ Home/ β Main feed
β βββ Community/ β Communities
β βββ Post/ β Post detail & create
β βββ Profile/ β User profile
β β News feed
β βββ DM/ β Direct messages
βββ utils/ β Helper functions
This frontend connects to the Sphere Spring Boot backend.
Backend repo: Sphere
Built with β€οΈ by Sumeet