Skip to content

Commit

Permalink
Checkpoint.
Browse files Browse the repository at this point in the history
  • Loading branch information
andre-j3sus committed May 10, 2024
1 parent bf005f5 commit 2c76c75
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
15 changes: 6 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,8 @@ Summer Semester of 2023/2024
The backend code is located in the [`src/backend`](./src/backend) directory.

The backend is a **REST API** built using **[Spring Boot](https://spring.io/projects/spring-boot)**
and
**[Kotlin](https://kotlinlang.org/)**. It is responsible for managing the data and the business
logic of the
application.
and **[Kotlin](https://kotlinlang.org/)**. It is responsible for managing the data and the business
logic of the application.

It's implemented following the **layered architecture** pattern, with the following layers:

Expand All @@ -51,9 +49,8 @@ store the data.

The frontend code is located in the [`src/frontend`](./src/frontend) directory.

The frontend is a **mobile application** for **Android** built using *
*[Kotlin](https://kotlinlang.org/)** and
**[Jetpack Compose](https://developer.android.com/develop/ui/compose)**. It is
The frontend is a **mobile application** for **Android** built using
**[Kotlin](https://kotlinlang.org/)** and **[Jetpack Compose](https://developer.android.com/develop/ui/compose)**. It is
responsible for providing a user interface for the application.

The frontend code is organized as follows:
Expand Down Expand Up @@ -85,10 +82,10 @@ To run the project, follow these steps:

1. Clone the repository or download the source code;

2. Run the **Docker Compose** command in the `src/backend` directory to start the server:
2. Run the **Docker Compose** command in the root directory of the project to start the backend
server:

```bash
cd src/backend
docker-compose up
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ class PharmacistApplication : DependenciesContainer, Application() {
companion object {
const val MEDICINE_NOTIFICATION_CHANNEL = "MedicineNotifications"

private const val API_ENDPOINT_TYPE = "render"
private const val API_ENDPOINT_TYPE = "localhost"
val API_ENDPOINT = when (API_ENDPOINT_TYPE) {
"localhost" -> "http://10.0.2.2:8080"
"ngrok" -> "https://2b02-2001-818-e871-b700-c937-8172-33bf-a88.ngrok-free.app"
Expand Down

0 comments on commit 2c76c75

Please sign in to comment.