This project is a full-stack application for itemset mining, featuring:
- A Java backend (Spring Boot, Maven)
- A Python model (training and classifier API)
- A React frontend
- Swagger UI documentation
- Project CGKS: Declarative & Specialized Itemset Mining
- Python 3.8+ (for model training and classifier API)
- Node.js 16+ & npm (for frontend)
- Java 11+ (for backend)
- Maven (for backend build)
- Make (to use provided Makefile)
Ensure all prerequisites are installed and available in your PATH. If you encounter issues with permissions or missing dependencies, check your environment and install any missing tools.
📂 Root Directory
- 📄
Makefile
- Build automation - 📄
requirements.txt
- Python dependencies - 📄
pom.xml
- Maven configuration - 📂
study/
- Python model code - 📂
src/
- 📂
frontend/
- 📂
motif-mining-app/
- React frontend
- 📂
- 📂
frontend-docs/
- 📂
swagger-ui/
- Swagger UI documentation
- 📂
git clone https://github.com/mathusanm6/Project-CGKS.git
cd Project-CGKS
# Ensure you are in the root directory of the project
make prep
This will:
- Create a Python virtual environment and install requirements
- Resolve Java dependencies and build the backend
- Build the React frontend
# In the Python virtual environment
make model
This runs the training script and copies the trained model to the backend resources. Since the trained model is already provided, you don't have to do it.
# Ensure you are in the root directory of the project
make api
The backend will start on the default port (8080).
# Ensure you are in the root directory of the project
make selector
# Ensure you are in the root directory of the project
make selector
This starts the Python API for classification. It will run on port 3001 by default.
# Ensure you are in the root directory of the project
make ui
The frontend will be available at http://localhost:3000.
# Ensure you are in the root directory of the project
make docs
# Ensure you are in the root directory of the project
make docs
The docs will be available at http://localhost:8000.
make test
— Run Java unit testsmake clean
— Clean Java build artifacts
First Name | Last Name | GitHub ID |
---|---|---|
Jewin | CHENG | @jewinc |
Tiphaine | GAYET | @tiphaine-gayet |
Aleksandra | KOVIAZINA | @KoviazinaA |
Mathusan | SELVAKUMAR | @mathusanm6 |