Module Service Architecture INSA 5ISS
Find a file
2024-12-16 18:08:07 +01:00
.github/workflows Modified artifact created and updated Deployement to run Maven Spring Boot. 2024-12-16 18:07:04 +01:00
db Updated Database and created init scripts. 2024-12-16 15:07:03 +01:00
helpapp-backend Add CORS configuration to allow cross-origin requests 2024-12-16 18:08:07 +01:00
helpapp-frontend Fixed cors issue with front end hehe 2024-12-16 18:08:07 +01:00
.gitignore Updated Database and created init scripts. 2024-12-16 15:07:03 +01:00
LICENSE Initial commit 2024-11-25 14:17:49 +01:00
README.md Update README.md 2024-12-10 17:52:54 +01:00

service-architecture

Course Exercice : Application to help others

mvn compile

mvn spring-boot:run

Roadmap

Functionnalities

  • We have users which could be either volunteers, user or admin
  • Requests that can have multiple status: Waiting, Validated, Rejected, Chosen, Realized
  • Requests can be done by users only
  • Feedback can be done by volunteers and users

APIs

  • Rest Create user
  • Rest Login with user and password
  • Rest Make sure admin can do everything and users don't
  • Rest Create a Help Request
  • Rest Modify the Help Request status
  • Rest Create a User Feedback
  • Soap Gather User Feedbacks

Check SOAP Requests

Please install the following application for ease of use SoapUI:

flatpak install flathub org.soapui.SoapUI

Then in the application create a new project with the endpoint of your choice, one might be http://localhost:8080/ws/countries.wsdl. Then modify the given request with the corresponding Country if you use the simple example given by SpringBoot.

Check REST Requests

Use this time the HTTPie application, it can be either in fully CLI or with a great UI, you can install it with flathub using this command:

flatpak install flathub io.httpie.Httpie

Just run the command http POST localhost:8080 hello=world to test the REST api.