Skip to content
No description, website, or topics provided.
PHP HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bootstrap
config
database
public
resources
routes
storage
tests
.editorconfig
.env.example
.gitattributes
.gitignore
.styleci.yml
README.md
artisan
composer.json
composer.lock
package.json
phpunit.xml
server.php
vapor.yml
webpack.mix.js
yarn.lock

README.md

api.chargingbreak.com

Stack

  • Backend: Laravel 6
  • Infrastructure: Hosted on AWS Lambda via Laravel Vapor
  • Database: MySQL 8

Development

Install dependencies

composer install

Configure environment variables

cp .env.example .env

Database

docker run -d -p 3306:3306 --name chargingbreak-db -e MYSQL_ROOT_PASSWORD=local -e MYSQL_DATABASE=chargingbreak -d mysql:8 --default-authentication-plugin=mysql_native_password
php artisan migrate

Development server

php artisan serve

Deployment

vapor deploy production
You can’t perform that action at this time.