Java Swing Coffee Shop With An Api

Java Swing Coffee Shop With An Api

Java Swing
node js
⭐ Featured Project

Overview

The Coffee Shop Management System is a comprehensive software solution designed to streamline operations and enhance customer experience in a coffee shop environment. This system consists of a Java Swing application for cashiers, a Node.js API for backend operations, and QR code generation for seamless transaction processing.

Features

Java Swing Application

orders.png

  • Interface for cashiers to take orders from customers.
  • Customization options for different types of coffee based on customer preferences.
  • Calculation of the bill and integration with the Node.js API for pricing information.

Node.js API

  • Endpoints for receiving order details from the Java Swing application.
  • Handling requests for fetching available coffee types and their prices.
  • Generation of QR codes for each transaction.

QR Code Generation

qr.png

  • Unique QR code generation for each transaction containing order details and total amount.
  • Integration with the system to link the QR code to specific transactions.

Customer Interaction

qr-phone.png

  • Customers can scan QR codes using their smartphones to view order details and total bill.
  • Seamless payment experience after scanning QR codes.

Admin Panel

manage-coffees.png

  • Interface for administrators to manage coffee types (add, update, delete).
  • Ability to add, suspend, or delete cashier accounts.

Security/Login

login.png

  • Implementation of authentication and authorization mechanisms to control access.
  • Secure transmission of data between components.

Database Management

  • Database management to store coffee types, transactions, cashier information, etc.
  • Ensure data integrity and consistency.

Software Used

  • Java Development Kit (JDK)
  • Node.js
  • Node Package Manager (npm)
  • Database Management System (MongoDB)

Libraries and Packages

Java Libraries:

  • commons-io-2.16.0.jar
  • core-3.5.3.jar
  • flatlaf-demo-3.4.jar

Node.js Packages:

  • bcrypt: ^5.1.1
  • dotenv: ^16.4.5
  • ejs: ^3.1.9
  • express: ^4.19.2
  • mongoose: ^8.2.4
  • nodemailer: ^6.9.13
  • uuid: ^9.0.1