A simple E-Commerce website to demonstrate relational database functionality
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Download and extract this repository or clone it using git
git clone https://github.com/just-a-rookie-2001/ecommerce-platform.git
Navigate into the repository
cd ecommerce-platform
Create a .env
file in the root directory of the project. Use the below template for starter and replace the details with your system credentials.
#dont modify
MYSQL_HOST=db
MYSQL_DATABASE=mydb
MYSQL_ROOT_USER=root
#please modify
MYSQL_USER=YourMySQLUserName
MYSQL_PASSWORD=YourMySQLUserPassword
MYSQL_ROOT_PASSWORD=YourMySQLRootPassword
-
Make sure docker service is running in the backgroud
Verify by executing the commanddocker ps
-
Finally start build process by executing the command
docker compose up --build
-
The application will be visible on
localhost:5000
-
To stop the application run command
docker compose down
This project is licensed under the MIT License - see the LICENSE file for details