A web application skeleton using VueJS and Symfony
This is a skeleton to easily bootstrap a modern web project.
It is composed of two distinct applications:
To be able to run both the API and the client in production-like mode, you’ll first need to install mkcert.
Then you can start the full application using docker by running:
$ mkcert -install
$ make serve
The full list of commands is available by running:
$ make
This will describe how to serve only the API or the client in development mode, how to run the tests, to update the dependencies, and more.
The carcel/skeleton/php
image comes with XDebug installed and configured. It is by default deactivated.
You can debug the API by running:
$ make develop-api DEBUG=1
This will launch the API through the PHP development server with XDebug activated.
To use the more efficient BuildKit toolkit to build the Docker images, export the following environment variables:
COMPOSE_DOCKER_CLI_BUILD=1
DOCKER_BUILDKIT=1
You can export them directly before running make serve
, or make them permanent by adding them to your shell profile.
Author: damien-carcel
Source Code: https://github.com/damien-carcel/app-skeleton
#vuejs #vue #javascript