🏥 A doctor appointment mobile application.
Important
This project is developed under the 01219493 Selected Topics in Computer System Engineering (Software Architecture) course of Department of Computer Engineering, Faculity of Engineering, Kasetsart University.
Clone this repository, copy .env.example to .env then fill out all the missing
enrironment variables.
Install devenv then enter the
development shell either automatically via
nix-direnv or manually via running
devenv shell in the repository root, which will install all required dependencies.
Then, run devenv up -d to start all the required services in the background.
Install PostgreSQL, Rust, SQLx and Flutter.
Then, start the PostgreSQL database server.
Finally, run cargo sqlx migrate run to run initial database migrations.
Run the backend via cargo run or cargo run --release. The API can now be accessed via
http:$BIND_ADDR/api, and their documentation can be accessed via
http:$BIND_ADDR/docs/<visualiser>. There are 4 visualisers available to use:
Note
The trailing forward slash (/) in the URL for Swagger UI is required.
- Swagger UI:
.../swagger/ - RapiDoc:
.../rapidoc - Redoc:
.../redoc - Scalar:
.../scalar
Run the frontend via cd frontend && flutter run.
6410500301ภูบดี สุตันรักษ์ (@ItsZodiaX) - Frontend Development6610501955กฤชณัท ธนพิพัฒนศิริ (@krtchnt) - Backend Development6610505276ก้องสกุล พันธุ์ยาง (@balliolon2) - Frontend Development6610505560วรุตม์ มาศสุวรรณ (@nightyneko) - API & Database Design
Layered monolith, with domain partitioning