Skip to content

carlosjpr-collab/exechange-student-appliction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

*** Accès au serveur MySQL distant *** mysql -h us-cdbr-iron-east-01.cleardb.net -u be304fcc9fbc70 -p password : xxxxxxxx

*** Accès au serveur MySQL local ***

*** Accès à l'application en local *** localhost:8080/...

*** Accès à l'application sur le cloud*** https://exchangesemester.cfapps.io/

*** Pour push l'application sur le cloud *** TODO

REST Api

All RESTFul services accessible via /service/XXXX
  • /service/university
    • GET : Return all universities
    • PUT : Save a new university into the DB
  • /service/course?id=id_univ
    • GET : Return the courses for the university with id=id_univ
  • /service/application
    • GET : Return all applications for the connected user/university or INSA
    • PUT : Save a new application for the connected user
      JSON RequestBody :
      {
      "idUniv" : "xxx (int) ",
      "agreement" : "xxx (0 or 1)",
      "status" : "xxxxx (string)"
      }
      Response :
      "success" : true --> the application is stored, no problem occured
      "success": "false" --> the user has already applied to this university : application not stored
    • POST : Update the status of an application
      JSON RequestBody :
      {
      "type" : "response",
      "idApplication" : "xxx (int)",
      "idUser" : "xxx(int)",
      "response" : "OK" or "NOK"
      }
      Response : TODO

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published