This project includes:
Laravel API for backend
Nuxt.js frontend client
MySQL database
Nginx for reverse proxy
Docker for containerization
GitHub Actions for CI/CD
Prerequisites
https://docs.docker.com/engine/install/
https://docs.docker.com/compose/install/
Clone the repo
Update the api/.env and docker-compose.yml file with your db configurations
Build and start the containers
docker-compose up --build
Access the application
https://localhost (port 433)
This project contains a GitHub Actions workflow that:
- Builds the images on push to the main branch
- Push the images to Docker hub registry
Make sure to add the following GitHub Secrets:
- DOCKERHUB_USERNAME
- DOCKERHUB_TOKEN