APIHub - Modern Social Platform

Connect, Share, Engage

License: MIT Backend: Laravel Frontend: React UI: Shadcn/UI

๐Ÿ“‹ Overview

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.

โœจ Features

  • ๐Ÿ‘ฅ 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

๐Ÿ—๏ธ Architecture

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

๐Ÿš€ Getting Started

Prerequisites

  • PHP 8.2+
  • Composer
  • Node.js 18+ and npm/bun
  • MySQL/PostgreSQL database

Installation

  1. Clone the repository:

    git clone https://github.com/sculptorofcode/apihub.git
    cd apihub
  2. Set up the backend:

    cd backend
    composer install
    cp .env.example .env
    php artisan key:generate
    php artisan migrate
    php artisan db:seed
  3. Set up the frontend:

    cd ../frontend
    npm install
    cp .env.example .env
  4. Start the development servers:

    # In the backend directory
    php artisan serve
    
    # In the frontend directory
    npm run dev
  5. Visit:

๐Ÿ“š Documentation

๐Ÿงช Testing

Backend Testing

cd backend
php artisan test

Frontend Testing

cd frontend
npm run test

๐Ÿ“ License

This project is licensed under the MIT License - see the LICENSE file for details.

๐Ÿค Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the project
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

๐Ÿ“ž Contact

Project Link: https://github.com/sculptorofcode/apihub


Built with โค๏ธ by 0_1_Binary