Skip to content

api frontend serving#178

Open
DAC098 wants to merge 3 commits into
mainfrom
t118_api_serving
Open

api frontend serving#178
DAC098 wants to merge 3 commits into
mainfrom
t118_api_serving

Conversation

@DAC098

@DAC098 DAC098 commented Jun 16, 2026

Copy link
Copy Markdown
Contributor
  • adds in the necessary logic for allowing the api server to serve the frontend without additional services.
  • adds in logging capabilities when a request comes in along with request id and uuid to assist with request tracing.
  • sql statement logging has been turned off
  • database connection will now function without the need for the password and port if no password is needed and if the port is the default postgres port
  • adds an env flag ENABLE_ASSET_SERVING that will take true or false in order to enable the asset serving portion of the server otherwise will default to its current behavior. (mainly to not disrupt production).

closes #118

DAC098 added 3 commits June 16, 2026 15:53
- adds in the necessary logic for allowing the api server to serve the
  frontend without additional services.
- adds in logging capabilities when a request comes in along with
  request id and uuid to assist with request tracing.
- sql statement logging has been turned off
- database connection will now function without the need for the
  password and port if no password is needed and if the port is the
  default postgres port
- adds in a flag to enable the asset serving for the api server. mainly
  for production as of right now it will require configuration to figure
  out how to make it work.
- adds some comments in main
- fixed an `npm ci` issue that still is happening, needs further
  investigation.
@DAC098 DAC098 marked this pull request as ready for review June 17, 2026 20:57
@DAC098 DAC098 requested a review from NickK21 June 17, 2026 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

incorporate front-end serving to API server

1 participant