From 18e43ebe2d4569be4eb6c628f62492ca71782fa4 Mon Sep 17 00:00:00 2001 From: "Anthony D. Mays" Date: Fri, 22 Nov 2024 20:01:12 +0000 Subject: [PATCH] chore: changes java api port to 3001 Signed-off-by: Anthony D. Mays --- lesson_26/README.md | 2 +- lesson_26/api/java/api_app/src/main/resources/application.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lesson_26/README.md b/lesson_26/README.md index 9a1c08461..fdc79484a 100644 --- a/lesson_26/README.md +++ b/lesson_26/README.md @@ -39,7 +39,7 @@ We are continuing to build atop the foundation of our library app. For this assi You can run the server using the usual `./gradlew run` command from the `api/java` directory. If you want to test that the server is running correctly, you can use `curl` like so: ```bash -curl http://localhost:5000/items | json_pp +curl http://localhost:3001/items | json_pp ``` Alternatively, you can test the API using the tool [Postman][postman-link]. I recommend installing this tool to make it easier to test things. diff --git a/lesson_26/api/java/api_app/src/main/resources/application.yml b/lesson_26/api/java/api_app/src/main/resources/application.yml index 574e0f916..bc26497dc 100644 --- a/lesson_26/api/java/api_app/src/main/resources/application.yml +++ b/lesson_26/api/java/api_app/src/main/resources/application.yml @@ -1,5 +1,5 @@ server: - port: 5000 + port: 3001 spring: jpa: database-platform: org.hibernate.community.dialect.SQLiteDialect