APIHub is a feature-rich social platform built with modern technologies that enables users to connect, share content, and engage with each other in real-time. The platform consists of a Laravel backend API and a React TypeScript frontend, offering a seamless and responsive user experience.
- ๐ฅ User Authentication: Secure login, registration, and profile management
- ๐ฑ Social Connections: Friend requests, connections, and networking
- ๐ Content Sharing: Create, like, comment on, and share posts
- ๐ฌ Real-time Messaging: Instant messaging between users
- ๐ Notifications: Real-time notifications for interactions
- ๐ Analytics: Track engagement and activity
- ๐ฑ Responsive Design: Works seamlessly on desktop and mobile devices
This project follows a modern client-server architecture:
- Backend: Laravel 12 REST API with authentication, authorization, and real-time capabilities
- Frontend: React with TypeScript, Vite, and Shadcn UI components
- Communication: RESTful API + WebSockets for real-time features
- PHP 8.2+
- Composer
- Node.js 18+ and npm/bun
- MySQL/PostgreSQL database
-
Clone the repository:
git clone https://github.com/sculptorofcode/apihub.git cd apihub
-
Set up the backend:
cd backend composer install cp .env.example .env php artisan key:generate php artisan migrate php artisan db:seed
-
Set up the frontend:
cd ../frontend npm install cp .env.example .env
-
Start the development servers:
# In the backend directory php artisan serve # In the frontend directory npm run dev
-
Visit:
- Frontend: http://localhost:5173
- Backend API: http://localhost:8000/api
- Backend Documentation
- Frontend Documentation
- API Documentation: http://localhost:8000/api/documentation (after running the backend)
cd backend
php artisan test
cd frontend
npm run test
This project is licensed under the MIT License - see the LICENSE file for details.
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the project
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
Project Link: https://github.com/sculptorofcode/apihub
Built with โค๏ธ by 0_1_Binary