This project is a combination of two submodules: TemplateWebApi and TemplateViteVue.
After cloning this repository, you need to initialize and update the submodules. Run the following commands:
git submodule update --init --remote --depth 1
git submodule foreach git checkout master
git submodule foreach git pull origin master
This project consists of a frontend and a backend that can be built and run using Docker Compose. There are separate Docker Compose files for development and production environments.
To build and run the project in production, use the following command in the root directory of the project:
docker-compose up --build
This command will build both the frontend and the backend of the project as specified in the docker-compose.yml file and run them in the background. The frontend will be accessible at http://localhost:80 and the backend at http://localhost:90.
To build and run the project in development, use the following command in the root directory of the project:
docker-compose -f docker-compose.dev.yml up --build
This command will build both the frontend and the backend of the project as specified in the docker-compose.dev.yml file and run them in the background. The frontend will be accessible at http://localhost:81 and the backend at http://localhost:92.