Skip to content

Latest commit

 

History

45 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SimplePOS24 Backend

A Spring Boot backend application for a simple Point of Sale (POS) system.

Prerequisites

  • Java 11 or higher
  • Maven 3.6 or higher
  • MongoDB database (local installation or cloud service like MongoDB Atlas)

Setup

1. Database Configuration

This application requires a MongoDB database. You can either:

  • Install MongoDB locally
  • Use a cloud service like MongoDB Atlas

2. Environment Variables

Create the following environment variables for database configuration:

export MONGODB_URI="your-mongodb-connection-string"
export MONGODB_DATABASE="kassensystem"

3. Running the Application

# Install dependencies
mvn clean install

# Run the application
mvn spring-boot:run

The application will start on port 8081 by default.

API Documentation

The application provides REST endpoints for:

  • Product management
  • Transaction processing
  • Receipt printing

Testing

Run the test suite:

mvn test

Project Structure

  • src/main/java/simplepos24/ - Main application code
    • config/ - Configuration classes
    • controller/ - REST controllers
    • entity/ - Data models
    • services/ - Business logic
    • dto/ - Data transfer objects
    • factory/ - Factory classes
    • printer/ - Receipt printing functionality
  • src/test/java/ - Test classes

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages