Skip to content

Conversation

roh26it
Copy link
Collaborator

@roh26it roh26it commented Oct 21, 2024

Help Page and Logs

  • This PR introduces a webpage that opens up when the gateway is started through node.js
  • The webpage contains help information on using the gateway
  • The logs tab provides realtime running logs for requests made through the gateway

How to try it out

  • Pull this branch and run the gateway normally through the npm run dev:node command.

Motivation:

  • Besides helping new users to consume gateway features fast, it also helps identify bugs faster through the logging section.

@roh26it
Copy link
Collaborator Author

roh26it commented Nov 8, 2024

Tested docker, npx deployments

@VisargD
Copy link
Collaborator

VisargD commented Nov 25, 2024

@roh26it - Should we also put a env or some flag check to enable the help page and logging? For example, production env might not need the UI.

@roh26it
Copy link
Collaborator Author

roh26it commented Nov 25, 2024

Aah, yes we could do that. Let me add a production check to env as well.

@roh26it
Copy link
Collaborator Author

roh26it commented Nov 26, 2024

@VisargD made the requested changes

@VisargD VisargD merged commit b88fdff into main Dec 16, 2024
2 checks passed
@VisargD VisargD deleted the feat/help branch December 16, 2024 15:50
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.

2 participants