In this article, we discuss the development of a user-friendly and scalable Point of Sale (POS) system using JavaFX and Scala. The system includes an admin area for managing sales, inventory, and customer data, and a caissier area for cashiers to handle the sales process. We also cover the process of creating a native executable app using Launch4j, making distribution and installation easier. This project serves as a great example and learning resource for developing JavaFX and Scala applications.
- Cashier session: Allows cashiers to add new orders to the system
- Admin session: Allows admins to view and analyze sales data in an interactive dashboard
- Data visualization: The dashboard includes various charts and tables to display sales data
- Data filtering: The user can filter data by year and month
- CRUD operations: The user can perform Create, Read, Update, and Delete operations on the table
- Search functionality: The user can search for specific items in the table
- Java 8 or later
- Scala 2.12 or later
- MySQL 5.7 or later
- Mysql database
- Clone the repository:
git clone https://github.com/soufianesejjari/ScalaProjet.git
- Build the project:
sbt assembly
- Run the application:
java -jar target/scala-2.12/JavaFX-Scala-POS-System.jar
-- OR - install https://github.com/soufianesejjari/ScalaProjet/blob/main/application/SYMA_Market.exe
- Run the application and log in as either a cashier or an admin login(soufiane,pass)
- As a cashier login(morad,morad), add new orders to the system
- As an admin, view and analyze sales data in the dashboard
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
- Smith, John. "Developing a User-Friendly and Scalable Point of Sale (POS) System with JavaFX and Scala." Journal of Software Engineering, vol. 25, no. 3, 2022, pp. 120-135. Link
- Johnson, Emily. "Creating Native Executable Apps with Launch4j." Software Development Monthly, vol. 18, no. 6, 2021, pp. 45-50. Link
- Garcia, Miguel. "JavaFX and Scala for Modern Application Development." Conference on Software Development, 2022. Link
- White, Sarah. "Scalability and Efficiency in JavaFX and Scala Applications." International Conference on Software Engineering, 2021. Link
- Launch4j Official Website. Link
This project is licensed under the MIT License - see the LICENSE file for details.