This project is a web application that leverages Angular for the frontend, Java Spring Boot for the backend, MySQL for the database, and Docker for containerization. It provides a robust and scalable solution for building modern web applications.
First clone the project:
https://github.com/nhathao512/Online-Store.git
For the Frontend
- Go to the shopapp-angular folder: cd shopapp-angular
- Download yarn:
npm install -g yarn
- Download the package:
yarn install
- Run code:
yarn start:dev
For the Backend
- Open
"cmd"and navigate to"cd"the Online-Store folder - Paste the commands in the following order:
- Step 1:
docker-compose -f ./deployment.yaml up -d mysql8-container
- Step 2:
docker-compose -f ./deployment.yaml up -d phpmyadmin8-container
- Step 3:
docker-compose -f ./deployment.yaml up -d redis-container
- Step 4:
docker-compose -f ./kafka-deployment.yaml up -d zookeeper-01
- Step 5:
docker-compose -f ./kafka-deployment.yaml up -d zookeeper-02
- Step 6:
docker-compose -f ./kafka-deployment.yaml up -d zookeeper-03
- Step 7:
docker-compose -f ./kafka-deployment.yaml up -d kafka-broker-01
Open browser
- Go to localhost:8100
- username:
root
- password:
Abc123456789@
- Finally import the
ShopApp.sqlfile
A walkthrough of the application can be accessed via the following link: Demo Video
This project is licensed under the License.