Welcome to the Online Shop project – our hackathon entry for Phase 1! This repository contains a fully functional e-commerce application built to demonstrate foundational DevOps skills in three key areas:
- Git & GitHub
- Linux
- Docker
In this phase, your focus is on understanding the provided developer code, reviewing how these core topics are implemented, and making any necessary enhancements. When you're ready, you'll submit your work via our designated Google Form.
-
Video Demonstration
Before diving into the tasks, please review the following key resources:
- CONTRIBUTING.md: Guidelines for code contributions, commit messages, and overall coding standards.
- COMMANDS.md: Command used by me throught the project from Configuration to Deployment.
Except Git Commands - ROADMAP.md: Insights into the project vision, future enhancements, and milestones.
- Repository Documentation: Explore the repository to understand how the application is built. Pay special attention to the
srcdirectory where the main application logic resides, as well as configuration files such asvite.config.jsand styling inindex.css.
These documents provide the context needed to understand the project requirements and the best practices expected for your contributions.
As part of the Train With Shubham Hackathon Phase 1, I was given the charge of deploying an Online Shopping Portal to the internet. The main goal was to ensure that the website was easily accessible, reliable, and scalable so that it could handle user traffic efficiently. Achiving this using DevOps automation tools to develop the deployment process, reducing manual effort, and improving overall system performance. Involved setting up the necessary infrastructure, automating deployments, and ensuring the application could run smoothly in a real time.
- Develop the Required Infrastructre for Online Shopping Portal
- Clonning Necessary Code and Artifacts ensurig Secrutiy and Accessbility
- Strategize a
Deployment Planfor brining the Applicaion to the Internet.
All this while ensuring:
- Gathering Necessary Resource for building the project.
- Implementing Automation Scripts.
- Using tools like
Dockerto build real world application. - Grasp a good Hands-On on DevOps tools.
- Helping and Learning through Community!
- Strong Cloud and DevOps Infrastructure.
Note: Remembering the Requirements
I did this...
- Understood the ROADMAP.md and CONTRIBUTING.md for build up the project.
- Gathering the resources needed to fulfill the
Task. - Build a
Docker Installation Scriptautomation script for installing and using Docker.Running Script explained in
COMMANDS.md File! - Setting up this Git Repository and Adding and Commiting Files
- Build a Dockerfile for the Online Shopping Portal Application
- Implemented Multi-Stage Docker Build which reduced the size of Image by
1GBand increased deployment speed by50%improving efficiency and faster deployment - Build a
.dockerignorefile for ignoring theFiles and Directorywhich are unecessary. - Using .dockerignore help reduce the docker image size and improving its deployment speed.
- Built a
Docker Composefile -
- Lead to faster implementation of Application
-
- Performing Regular
Health Checks.
- Performing Regular
-
- Custom Network Configuration
- Implemented
Docker Scoutfor CheckingVulnerabiltiesof Application.Docker Scout Report - Used
Amazon EC2to bring the Application to Internet
Shown in Video Demonstration
- Successfully deployed the
Online Shopping Portalon the internet using DevOps automation tools. - Improved
deployment speed by 50%and reducedDocker image size by 1GBusing multi-stage builds. - Ensured security and efficiency by implementing
Docker Scoutforvulnerability analysis. - Automated the setup process with
Docker Installation ScriptsandDocker Composefor easy deployment. - Deployed the application on
Amazon EC2, making it accessible and scalable for real users.
Good luck for the hackathon
Happy Learning :)

