AspireCloud/storage
Sarah Savage 5e6f473d4d
Merging Laravel into main (#27)
* refactor: wipe out mezzio installation prior to installing Laravel

* refactor: install laravel

* fix: push attic'd composer.json that didn't make it into commit

* Adding several improvements (#23)

* Added improvements around Phinx and migrations
* Created Franken as our main PHP source
* Rewrote the Makefile to use the CLI and work properly

* build: regenerate lockfile

* fix(build): move migrations to require-dev so laravel doesnt choke on it

* feat: add mailhog service

* chore: tweak sample config

* fix: port make targets around db and migrations

* temp: add phinx migrations to attic

* fix: fix make list target formatting

* chore: port initial schema migration

* chore: roll in remaining migrations

* chore: publish cors config

* temp: rm the rest of .ATTIC

* Minor changes to provide correct settings for dev enviornment (#24)

* Removed the .env file from the Docker configuration so its read
locally and changes to it are immediately reflected.
* Updated the DB name in the Docker configuration

* fix: add correct DB environment vars to .env.example

* fix: api.aspirepress.local -> api.aspirecloud.local in docker-compose.yml

* feat: add generate-key target to Makefile

* feat: add stub api routes file

* Adding quality tools and fixing coding style

* Added Pint for CS fixing
* Added Larastan for code quality and set Level 6 with a baseline
* Fixed minor style issues

* Updating running checks to build the CLI container and then the Makefile with Pest

* Fixing a style issue detected

* Generating app key for tests

Note that eventually we'll have to pass a host of config vars to
effectively test the Laravel instance. That's TBD for later.

* Add Catch All handler (#25)

* fix: rm catchall route in api.php

* style: fix style to make pint happy

* Populating the .env file if it doesn't exist

* fix: give phpstan proper args in check target

* fix: phpstan qa issues

---------

Co-authored-by: Chuck Adams <cja987@gmail.com>
Co-authored-by: Matthew Zalewski <matthew@minion.co.nz>
2024-10-19 07:32:17 -06:00
..
app Merging Laravel into main (#27) 2024-10-19 07:32:17 -06:00
framework Merging Laravel into main (#27) 2024-10-19 07:32:17 -06:00
logs Merging Laravel into main (#27) 2024-10-19 07:32:17 -06:00