Skip to content

nhathao512/Online-Store

Repository files navigation

ONLINE STORE

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.

Prerequisites

  • NodeJs
  • Angular
  • Java JDK 17 or higher
  • MySQL Server
  • IntelliJ IDEA
  • Docker
  • Postman
  • Visual Studio Code
  • Running the Application

    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

        root
    
    • password:
        Abc123456789@
    
    • Finally import the ShopApp.sql file

    Demo Video

    A walkthrough of the application can be accessed via the following link: Demo Video

    License

    This project is licensed under the License.

    Author


    Thanks for visting our project ❤️!

    About

    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.

    Topics

    Resources

    License

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

     
     
     

    Contributors