JonathanGawrych / app-template

A great starting place

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Backend Template

A great starting place.

Setup

Obviously you're first going to need to install PHP on your system if you haven't done so yet. Developed on PHP 8.0, if you are on a different version, your mileage may vary...

Next, you'll need some dependencies. Install composer, then run:

composer install

Finally, bring up the docker containers via laravel sail:

./vendor/bin/sail up -d

That's it for the backend. Head over to <resources/frontend/README.md> to build the angular frontend.

Running Tests

Now that everything is set up, run the test with:

./vendor/bin/phpunit

Look in the coverage folder for what's covered and what's not

Running Static Analysis

After you make your changes there are some static analysis rules to ensure type safety:

./vendor/bin/phpstan

Running Lint

After you make your changes there are some lint rules to keep everything nice and neat.

./vendor/bin/phpcs

About

A great starting place

License:Microsoft Public License


Languages

Language:PHP 52.8%Language:HTML 19.1%Language:Blade 13.8%Language:TypeScript 8.7%Language:Dockerfile 2.3%Language:JavaScript 2.2%Language:Shell 1.0%Language:SCSS 0.1%