badging / BadgingAPI

Server side development of the DEI Project Badging focusing on scripting, databases, back-end logic, & APIs
https://badging.chaoss.community
MIT License
1 stars 7 forks source link

create better admin logging tray for running docker container that is accesible outside the server #17

Open kaxada opened 8 months ago

kaxada commented 8 months ago

Currently, there are actions and processes we can't track unless we log into the server and look at the logs of the docker containers or nginx servers.

The goal is to create a protected endpoint accessible only with an admin login. it should be a log sheet summarising any process happening in the backend. tracking actions, responses from APIs and the server to the user, who logged in, who got signed up, which badges got issued and when. This should also have time stamps and necessary links to the action (if needed).

The logs will be deleted after a certain period or when they reach a certain level of memory.

Skills: Docker Linux Shell Scripting Node Nginx GitHub API

FaithKovi commented 7 months ago

hello @kaxada , can I get more information on this. I would like to work on it

kaxada commented 7 months ago

@FaithKovi there you go. let me know of anything that is not clear.

FaithKovi commented 7 months ago

@kaxada do you have a specific time duration for the log retention?

FaithKovi commented 7 months ago

@kaxada Do you have a specific time duration for the log retention?

kaxada commented 7 months ago

No. The server is still huge can put it to anything more than a year. We can scale it down whenever. I hope you can make a draft PR in the coming week or so. @FaithKovi

FaithKovi commented 7 months ago

Okay that's fine then. You will have a draft PR soon @kaxada

FaithKovi commented 7 months ago

@kaxada I need some help with the local setup. For Authorization callback URL and Homepage URL. what is the specific URL used? localhost?

kaxada commented 6 months ago

@FaithKovi you can use http://localhost:{PORT}. The port is whatever port you are running your local project on