Skip to content

Latest commit

 

History

77 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SMS Checker - App Service

Frontend web application and API gateway for SMS spam detection

This Spring Boot application serves as both the web frontend and API gateway for the SMS Checker system. It provides a web interface for users to submit SMS messages and get spam classification results from the model service.

Features

  • Web-based UI for SMS spam detection
  • API gateway to prevent CORS issues
  • Integration with lib-version library
  • REST client for model-service communication

Requirements

  • Java 25+
  • Maven 3.6+
  • Access to model-service running on configured host

Configuration

Set the MODEL_HOST environment variable to specify where the model service is running:

export MODEL_HOST="http://localhost:8081"

Running

With Maven

MODEL_HOST="http://localhost:8081" mvn spring-boot:run

With Docker

docker build -t sms-checker-app .
docker run -p 8080:8080 -e MODEL_HOST="http://model-service:8081" sms-checker-app

Usage

Once running, access the application at:

Architecture

This service acts as an API gateway, receiving requests from the web frontend and forwarding them to the model-service. This pattern prevents CORS issues and provides a clean separation between the UI and ML components.

Dependencies

  • lib-version: Version-aware library for version management
  • model-service: Backend ML service for spam classification

See the operation repository for complete system documentation.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages