A modern social media platform built with React, TypeScript, and Vite, featuring a rich set of UI components and real-time capabilities.
-
Post Management
- Create posts with rich text and image uploads
- Edit and delete your own posts
- View posts in a responsive feed
- Like and share posts
- Real-time post updates
-
Comments System
- Real-time comments on posts
- Edit and delete your own comments
- Nested comments support
- Real-time comment updates
-
User Profiles
- Customizable user profiles
- Profile picture and cover photo
- User activity history
- Followers and following lists
-
Social Features
- Friend system with friend requests
- Follow/unfollow functionality
- User search and discovery
- Activity feed
-
Real-time Communication
- Real-time notifications
- Live chat system
- Online/offline status
- Message read receipts
- Modern Tech Stack: Built with React 19, TypeScript, and Vite
- Rich UI Components: Using Radix UI primitives and custom components
- State Management: Redux Toolkit for global state management
- Real-time Features: Socket.IO integration for real-time updates
- Form Handling: React Hook Form with Zod validation
- Styling: Tailwind CSS with custom animations and utilities
- Rich Text Editor: TipTap integration for content editing
- API Integration: Axios for HTTP requests
- Type Safety: Full TypeScript support
- Code Quality: ESLint and Prettier for code formatting and linting
- Frontend Framework: React 19
- Build Tool: Vite
- Language: TypeScript
- Styling: Tailwind CSS
- State Management: Redux Toolkit
- UI Components: Radix UI
- Form Handling: React Hook Form + Zod
- Real-time: Socket.IO
- HTTP Client: Axios
- Rich Text Editor: TipTap
- Animations: Framer Motion
- Clone the repository:
git clone https://github.com/smoluca123/SMOSpace_ReactJS- Install dependencies:
npm install
# or
yarn install
# or
bun install- Start the development server:
npm run dev
# or
yarn dev
# or
bun devsrc/
├── apis/ # API integration
├── assets/ # Static assets
├── components/ # Reusable UI components
├── contexts/ # React contexts
├── guard/ # Route guards and authentication
├── hooks/ # Custom React hooks
├── lib/ # Utility functions and configurations
├── modules/ # Feature modules
├── redux/ # Redux store and slices
├── routes/ # Application routes
└── main.tsx # Application entry point
npm run dev- Start development servernpm run build- Build for productionnpm run preview- Preview production buildnpm run lint- Run ESLintnpm run lint:fix- Fix ESLint errorsnpm run format- Format code with Prettier
The project uses several configuration files:
vite.config.ts- Vite configurationtailwind.config.js- Tailwind CSS configurationtsconfig.json- TypeScript configurationeslint.config.js- ESLint configuration.prettierrc- Prettier configuration
[Add your license information here]
[Add contribution guidelines here]