Web Applications developed using HTML & CSS & JS & PHP and using Docker and Docker-Compose to containerize some of these applications.
- Marketing: is a simple front-end application that displays a marketing page for a company.
- Calculator: is a simple calculator application that performs basic arithmetic operations using
PHPandJavaScript. (client-server interaction). - WebSite_Visits: is a simple application that counts the number of visits to a website using
nodejsandredis. Containerized using Docker and Docker-Compose. - CRUD: (Create, Read, Update, Delete) an application that performs CRUD operations on a database using
PHPandMySQLto Add/Edit/Delete users. Containerized using Docker and Docker-Compose. - Hospitality: a simple application that reserves a room in a hospital using
PHPandMySQL. Containerized using Docker and Docker-Compose. - LoginSystem: a full functional login system that allows users to register and login using PHP and MySQL following the
MVC(Model-View-Controller) design pattern. Containerized using Docker and Docker-Compose. - OnlineShop: an online shop application that allows adding a new product to the shop and displaying all products using
PHPandMySQL. Containerized using Docker and Docker-Compose.
To run the applications locally, you need to have PHP, MySQL, and Apache installed on your machine (Easy to install using XAMPP or WAMP).
- Clone the repository.
- Navigate to the application directory.
- Copy the application folder to the
htdocsdirectory in theXAMPPorWAMPinstallation directory. - Open your browser and navigate to
http://localhost/application-folder-nameto view the application. - To view the database's table, navigate to
http://localhost/phpmyadminand create a new database and table. - Update the database connection details in the application files to match your database details if needed.
- Dockerfile: is a text document that contains all the commands a user could call on the command line to assemble an image.
- docker-compose.yml: is a YAML file that defines how Docker containers should behave in production.
✅ To build the application created using Docker, you need to have Docker installed on your machine then:
- Clone the repository.
- Navigate to the application directory.
- Run the following command to build the application:
docker-compose up
# To remove the container after stopping it
docker-compose down- Open your browser and navigate to
http://localhost:8080to view/add the database's table (PHPmyAdminDashboard). - Open your browser and navigate to
http://localhost:80to view the application.