Skip to content

daumienebi/cm_client_pc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Comic Management Desktop Client

Comic management client (Desktop version) made with Java Swing. This project was a final school project to create a desktop app that communicates with a backend, (Springboot in this case) to perform basic CRUD operations and also integrates few simple reports created with JasperReports. I personally fancy Java Swing even though it's outdated so i decided to modify few stuffs in this old school project.

Entities

  • Comic (Each comic must belong to a collection)
  • Collection (Each collection can have 0 or N comics)

Tools needed to set it up

By installing XAMPP, we are intrinsically installing the necessary tools to get it running. You can choose to use other tools that can replicate the same functionality.

  • XAMPP : Download it from here

    • MYSQL (To manage the database)
    • Filezilla (To manage the FTP server used to upload the images of each comic o collection)
    • Apache (To simulate a web server that will be used to retrieve the stored images)
  • Desktop Client :

    Captura

    It can be found in the release section. The Client jar file (ComicManagement.jar) must be in a Folder with the Reports folder(where the reports for each language can be found) and the app.properties file (used to configure user values) but a shortcut can be created for the jar file. structure
    The app.properties values can be configured for the app (Connection > Configure connection values) or directly editing the file.

  • Backend

    A very simple Springboot backend is used to serve the client, the project can be downloaded here : comic_management_server.zip.
    After downloading the project, you only need to configure the application.properties file in the Springboot project to fill in your database values and any necessary values and then run the project :

    Captura
    Api Endpoints :

    Make sure you have the MYSQL database running in XAMPP(from the panel) or any other way you wish to run it. The database script to create the database tables can be found here : comicdb_createTables.txt

    The server can be on a virtual machine with XAMPP running on it or both the client and server running on the same machine. The only tricky aspect is creating the "image server" to store the images using Apache(Already integrated in XAMPP) to simulate a web server that we use to obtain the images. The full configuration can be found in this file : Como configurar la aplicacion.pdf (Spanish)

Modification

If by any chance anyone decides to clone this project for modification or any other use, you are free to do absolutely whatever you want with it, Goodluck ! 😶

Tip : Change the debug_mode value to "true" in the Configuration.java file (src/es/daumienebi/comicmanagement/utils/Configuration.java) if you are modifying the project to avoid waiting for the loading screen everytime you complie the project then set it back to "false" before generating the jar file to view the shitty loading screen later on.

Captura

Todo :

  • File on how to configure the project in English too.
  • Remote backend (the existing Springboot project to practice)