Skip to content

Ahmedhussein18/Challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Challenge

Overview

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

Setup Instructions

Prerequisites

Install Docker

https://docs.docker.com/engine/install/

Docker Compose

https://docs.docker.com/compose/install/

Clone the repo

Environment Configuration

Update the api/.env and docker-compose.yml file with your db configurations

Run the Application

Build and start the containers
docker-compose up --build

Access the application
https://localhost (port 433)

CI/CD with GitHub Actions

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published