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 6 forks source link

migrate event badging badged events to database #25

Open kaxada opened 9 months ago

kaxada commented 9 months ago

This issue aims at moving the current events table from https://github.com/badging/event-diversity-and-inclusion/blob/main/README.md#badges-granted-version-3 to https://badging.chaoss.community/event-badging

But before the front end is implemented, there is a need to create a database table that will store these events. the table will have the same columns as the current table above and rely on the bot automation to save events to the database.

there is a need to find a way to populate the database table with all the previous events. This may call for scrapping the readme table and manually filling the table.

Tools and tech:

  1. MySQL
  2. Node
  3. GitHub API
DesmondSanctity commented 9 months ago

@kaxada you can assign this one to me.

I planned to extract the table from the ReadMe to XLX or CSV and write a seeding script to create a table with necessary columns and populate the data to DB.

DesmondSanctity commented 7 months ago

how to apply the fix:

this solution can be better if the event is still saved to the ReadME moving forward or we can find a way to auto-save to the database whenever an event badging is completed.

adeyinkaoresanya commented 4 months ago

@DesmondSanctity, Can I close this out?

DesmondSanctity commented 4 months ago

Yes