Skip to content

setokk/PhysioLink-Backend

Repository files navigation

PhysioLink-Backend

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.


Team members (Team 11)

  • Kote Kostandin
  • Theodora Katseisvili
  • Vicky Limenidou
  • Charisiadis Aristotelis
  • Panagiotis Stergioulas-Bolis
  • Koudouni Alexandra
  • Shenepremte Eleni
  • Sophocles Panteris
  • Iason Karafoulidis
  • Christos Tsarchopoulos

Functionalities

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


Running the app

Although it is not needed since there is a live server, there are 2 ways to run the app (using docker or installing locally):

IMPORTANT

Because MariaDB listens on 3306, make sure there are no running processes using port 3306 before following the steps below.

- Docker (recommended)

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!

- Locally (not recommended)

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!

Requirements

In summary, the requirements as stated above are: Docker or Nodejs and MariaDB.


Documentation

You can find the backend API reference in localhost:3000, if run locally.


About

Backend source code for PhysioLink.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages