Skip to content

Barta is a SPA built with Laravel, Livewire, and WebSockets, delivering real-time interactions, dynamic content feeds, and instant notifications for an immersive user experience.

Notifications You must be signed in to change notification settings

Fabdoc27/Barta-SPA

Repository files navigation

Barta - SPA

Barta is a modern single-page application (SPA) built with Laravel and Livewire, offering real-time updates via WebSockets. It features an interactive, dynamic feed, instant notifications, and seamless user interactions with no page reloads, providing an optimized, smooth experience throughout.

Features

  • Dynamic Home Feed: Infinite scrolling, user filtering, and stats for likes and comments.
  • Real-Time Notifications: Instant updates for likes and comments via WebSockets (Pusher & Laravel Echo).
  • Live Search Bar: Quickly find users with instant search results.
  • User-Friendly SPA: Built entirely with Livewire for smooth transitions and optimal performance.

Getting Started

Follow these instructions to set up the project.

Installation

  1. Clone the repository:

    git@github.com:Fabdoc27/Barta-SPA.git
  2. Navigate to the project directory:

    cd "Barta-SPA"
  3. Install PHP dependencies:

    composer install
  4. Install Node.js dependencies:

    npm install
  5. Create the environment file:

    cp .env.example .env
  6. Set up your .env file:

    BROADCAST_DRIVER=pusher
    PUSHER_APP_ID=your-app-id
    PUSHER_APP_KEY=your-app-key
    PUSHER_APP_SECRET=your-app-secret
    PUSHER_APP_CLUSTER=your-app-cluster
  7. Generate the application key:

    php artisan key:generate
  8. Run database migrations:

    php artisan migrate
  9. Seed the database (optional):

    php artisan db:seed
  10. Start the local development server:

    php artisan serve
  11. Compile front-end assets:

    npm run dev
  12. Start the queue worker:

    php artisan queue:work
  13. Clear livewire temporary files (additional):

    php artisan clear-livewire-temp

About

Barta is a SPA built with Laravel, Livewire, and WebSockets, delivering real-time interactions, dynamic content feeds, and instant notifications for an immersive user experience.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages