Skip to content

Commit

Permalink
Merge pull request #89 from ubuntu/rest-endpoints
Browse files Browse the repository at this point in the history
Add Rest endpoints
  • Loading branch information
ZoopOTheGoop authored Mar 14, 2024
2 parents 98c11a1 + cce7066 commit 9d9905f
Show file tree
Hide file tree
Showing 59 changed files with 2,026 additions and 411 deletions.
2 changes: 2 additions & 0 deletions .env_files/example.env
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ APP_NAME=ratings
APP_PORT=8080
APP_POSTGRES_URI=postgresql://migration_user:strongpassword@localhost:5433/ratings
APP_MIGRATION_POSTGRES_URI=postgresql://migration_user:strongpassword@localhost:5433/ratings
APP_ADMIN_USER=shadow
APP_ADMIN_PASSWORD=maria

DOCKER_POSTGRES_USER=postgres
DOCKER_POSTGRES_PASSWORD=@1234
Expand Down
5 changes: 4 additions & 1 deletion .env_files/test-server.env
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
APP_ENV=dev
APP_HOST=0.0.0.0
APP_HOST=127.0.0.1
APP_JWT_SECRET=deadbeef
APP_LOG_LEVEL=error
APP_NAME=ratings
APP_PORT=8080
# Update this with some real PostgreSQL details
APP_POSTGRES_URI=postgresql://migration_user:strongpassword@localhost:5433/ratings
APP_MIGRATION_POSTGRES_URI=postgresql://migration_user:strongpassword@localhost:5433/ratings
APP_ADMIN_USER=shadow
APP_ADMIN_PASSWORD=maria


DOCKER_POSTGRES_USER=postgres
DOCKER_POSTGRES_PASSWORD=@1234
Expand Down
2 changes: 2 additions & 0 deletions .env_files/test.env
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ APP_PORT=8080
# Update this with some real PostgreSQL details
APP_POSTGRES_URI=postgresql://migration_user:strongpassword@localhost:5433/ratings
APP_MIGRATION_POSTGRES_URI=postgresql://migration_user:strongpassword@localhost:5433/ratings
APP_ADMIN_USER=shadow
APP_ADMIN_PASSWORD=maria

DOCKER_POSTGRES_USER=postgres
DOCKER_POSTGRES_PASSWORD=@1234
Expand Down
Loading

0 comments on commit 9d9905f

Please sign in to comment.