Module Service Architecture INSA 5ISS
Find a file
2024-12-23 01:15:45 +01:00
.github/workflows Renamed helpapp-frontend to frontend and helpapp-backend to backend 2024-12-22 16:11:40 +01:00
backend Backend: Added "get" for both Feedback and request 2024-12-23 01:15:45 +01:00
db Backend: Added "change_status" endpoint which checks the role before doing any action. DB: Added 3 dummy users with the 3 different roles. 2024-12-23 00:01:47 +01:00
frontend Renamed helpapp-frontend to frontend and helpapp-backend to backend 2024-12-22 16:11:40 +01:00
.gitignore Refactored user-service to use the database. 2024-12-22 00:06:06 +01:00
init.sh Renamed helpapp-frontend to frontend and helpapp-backend to backend 2024-12-22 16:11:40 +01:00
LICENSE Initial commit 2024-11-25 14:17:49 +01:00
README.md Backend: Added "get" for both Feedback and request 2024-12-23 01:15:45 +01:00
remove.sh Moved bash scripts for database management. Added CORS Configuration and using REST API to gather list of roles. 2024-12-21 16:04:16 +01:00
service.sh Renamed helpapp-frontend to frontend and helpapp-backend to backend 2024-12-22 16:11:40 +01:00

service-architecture

Course Exercice : Application to help others

./init.sh
./service.sh compile
./service.sh start

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
  • Rest 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.