Backend source code for Development of Android Applications, University of Macedonia (UoM)
PhysioLink is a mobile app that aims to facilitate the management of physiotherapy clinics, as well as to assist patients in the appointment booking process.
This app is written in Nodejs and specifically using the Expressjs framework. The database used is MariaDB.
- Kote Kostandin
- Theodora Katseisvili
- Vicky Limenidou
- Charisiadis Aristotelis
- Panagiotis Stergioulas-Bolis
- Koudouni Alexandra
- Shenepremte Eleni
- Sophocles Panteris
- Iason Karafoulidis
- Christos Tsarchopoulos
The backend app follows and supports the requirements as given from the assignment. Furthermore, extra functionalities were implemented, such as:
- Notification system
- Email system
- Profile Image uploading
- Personalized doctor/physiotherapist services
- Updating user information (password, name, email etc.)
- More patient/doctor information (city, address, postal code)
You can find out more about the functionalities in the API Documentation Reference
Although it is not needed since there is a live server, there are 2 ways to run the app (using docker or installing locally):
Because MariaDB listens on 3306, make sure there are no running processes using port 3306 before following the steps below.
Requirements: - Docker CLI or Docker Desktop Run: 1) docker-setup.bat (or docker-setup.sh | they can be found in the root path of the project) 2) docker exec -it physiolink-db mariadb --user root -proot 3) Copy and paste all SQL code from db.sql in the interactive terminal (db.sql can also be found in the root path of the project) 4) Done!
Requirements: - Nodejs - MariaDB 1) Clone the repository 2) Go to DatabaseDriver.js and change the "physiodb" in "new DatabaseConnector("physiodb", "root", "root", DB_CONN_LIMIT)" to "localhost" 3) Run npm install and npm run start 4) Run this in your terminal: mariadb -u root -p 5) Copy and paste the code from db.sql to the terminal 6) Done!
In summary, the requirements as stated above are: Docker or Nodejs and MariaDB.
You can find the backend API reference in localhost:3000, if run locally.