Skip to content

myanmarcyberyouths/breeze-poly

Repository files navigation

Breeze Backend

Installation

composer require laravel/passport --with-all-dependencies

Setup

composer setup

Docker Setup

container-compose build
container exec breeze_app composer setup

Test

composer test

Exposing Server

sudo php artisan serve --host 192.168.1.4 --port 80
sudo php artisan serve --host 0.0.0.0  --port 80

PHP Server Setup

We will need to install apfd to handle form data in PUT and PATCH method.

pecl channel-update pecl.php.net
pecl install apfd

Add the following extension to the php.ini

extension=apfd.so

Vercel Setup

  • /(.*) forward to /
  • /api/(.*) forward to /api
{
    "routes": [
        {
            "src": "/(.*)",
            "dest": "/api/index.php"
        },
        {
            "src": "/api/(.*)",
            "dest": "/api/index.php"
        }
    ]
}

About

Breeze - The Event Planning Application Backend

Topics

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •