Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cstim240/pokedexclient

A client and server Java Application
https://github.com/cstim240/pokedexclient

css java javafx maven mockmvc spring-boot test

Last synced: 25 days ago
JSON representation

A client and server Java Application

Awesome Lists containing this project

README

        

Pokemon/Tokimon (as we called it in class) Viewer or Pokedex Java Application!
Front-end: JavaFX, back-end: SpringBoot server
Purpose: Develop a front-end client application which utilizes a Spring Boot server which uses REST API principles.

Front-end features: hide/show info, add info, next/prev buttons, search id, edit info, delete pokemon (left-most button/'skull'), CSS styling.

Back-end features: custom exceptions, model-view-control approach, MockMVC testing (located in webServer/src/test/java/ca.cmpt213.demo/TokimonCardControllerTest.java)

How to run: Use your IDE of choice, clone both the client (TokidexViewer.java) and server (tokidexServerApplication.java) repository, run as demonstrated by the images below (I'm using Intellij):
- Ensure the server is running prior to the client.

![runServer](https://github.com/user-attachments/assets/d7183510-f5ad-48f1-9e93-8f7590c47acd)
![runServerConsole](https://github.com/user-attachments/assets/a23c54be-32ca-407c-9550-e15470f7668d)

![runClient](https://github.com/user-attachments/assets/fad757b5-0312-4a90-84dc-b274c4fb4281)

If everything went well, you should see the client application on a separate window:
![runClientConsole](https://github.com/user-attachments/assets/aca0a7f1-43d4-4e2f-b988-defd66564c81)

![showInfo](https://github.com/user-attachments/assets/fd45122d-1262-42e6-a23e-50c95ed7fb40)

![addInfo](https://github.com/user-attachments/assets/04a0e233-3ccc-415e-b647-a40f0bf65c34)

![editInfo](https://github.com/user-attachments/assets/a2efec11-1a49-4510-85fc-48d5a57a1f9b)

![nextPrevFunc](https://github.com/user-attachments/assets/08044922-7a7b-4636-b523-f3a4bfdd5abc)