Skip to the content.

EBAOH ๐ŸŽฏ

EBAOH Logo

License: MIT PHP CodeIgniter 4 MySQL WakaTime


Project overview ๐ŸŒŸ

EBAOH is a social network built around products, helping buyers make smarter decisions by gathering opinions from friends and the wider community.
You can recommend products, share experiences, create comparison surveys, and build a trusted reviewer network! ๐Ÿ›’๐Ÿ“


Technical stack ๐Ÿ› ๏ธ

Version 1

Version 2 (planned ๐Ÿš€)


Installation โšก

Requirements ๐Ÿ“‹

Setup instructions ๐Ÿ› ๏ธ

  1. Clone the repository:
    git clone https://github.com/guibranco/ebaoh.git
    cd ebaoh
    
  2. Install PHP dependencies:
    composer install
    
  3. Configure your environment:
    • Copy the example environment file:
      cp env .env
      
    • Update your .env with database credentials:
      database.default.hostname = localhost
      database.default.database = ebaoh
      database.default.username = youruser
      database.default.password = yourpassword
      
  4. Set up API keys:
    facebook.app_id = your_app_id
    facebook.app_secret = your_app_secret
    buscape.api_key = your_buscape_api_key
    
  5. Run database migrations:
    php spark migrate
    
  6. (Optional) Seed your database ๐ŸŒฑ:
    php spark db:seed InitialSeeder
    
  7. Start the development server ๐Ÿš€:
    php spark serve
    

Project structure ๐Ÿ—๏ธ

Core components ๐Ÿงฉ

Database schema overview ๐Ÿ—ƒ๏ธ


Features โœจ


API integrations ๐Ÿ”Œ

Facebook API

Buscapรฉ API


Development guidelines ๐Ÿ“š

Coding standards

Contributing ๐Ÿค

  1. Create a feature branch:
    git checkout -b feature/amazing-feature
    
  2. Commit your changes:
    git commit -m 'Add some amazing feature'
    
  3. Push to GitHub:
    git push origin feature/amazing-feature
    
  4. Open a Pull Request ๐Ÿš€

Testing ๐Ÿงช

Run PHPUnit tests:

./vendor/bin/phpunit

Deployment ๐Ÿš€

Production requirements

Deployment steps

  1. Clone the repository on your server
  2. Set the web server document root to the public/ folder
  3. Install dependencies:
    composer install --no-dev
    
  4. Set up production environment variables
  5. Run migrations:
    php spark migrate
    
  6. Set correct file permissions ๐Ÿ›ก๏ธ

Future plans (V2) ๐Ÿ”ฎ


License ๐Ÿ“„

Distributed under the MIT License.