GlobalOne E-commerce Platform

GlobalOne is an e-commerce platform specializing in tech products for integrations. This platform utilizes a modern stack comprising Laravel for the backend and Next.js with React and GraphQL for the frontend.

Features

  • GraphQL Integration: Utilizes GraphQL for efficient data querying and manipulation.
  • Real-Time Updates: Implements real-time updates using WebSockets for immediate notifications on orders and product updates.
  • Search Functionality: Allows users to search for products based on various criteria such as name, category, or description.
  • Integration with Third-Party Services: Seamlessly integrates with third-party services like payment gateways for secure and convenient transactions.

Backend (Laravel)

The backend of GlobalOne is powered by Laravel, a robust PHP framework. It provides RESTful APIs and GraphQL endpoints for communication with the frontend.

Setup Instructions

  1. Clone this repository:

    git clone <repository_url>
    
  2. Navigate to the backend directory:

    cd globalone-backend
    
  3. Install dependencies:

    composer install
    
  4. Set up the environment:

    • Copy the .env.example file to .env and configure the database connection settings.
  5. Run migrations:

    php artisan migrate
    
  6. Start the Laravel development server:

    php artisan serve
    

Frontend (Next.js with React and GraphQL)

The frontend of GlobalOne is built using Next.js, React, and GraphQL. It provides a dynamic and interactive user interface for browsing and purchasing products.

Setup Instructions

  1. Navigate to the frontend directory:

    cd globalone-frontend
    
  2. Install dependencies:

    npm install
    
  3. Start the development server:

    npm run dev
    

Contributing

Contributions are welcome! Feel free to submit pull requests for any improvements or new features.

License

This project is licensed under the MIT License.