Make Github stars dynamic and improve database init (#5000)

I extracted the init database logic into its own file. 
You can now run it with yarn database:init.
Added database entry for GitHub stars. 

Do you want me to remove the init route or is it used for something else
?

---------

Co-authored-by: Ady Beraud <a.beraud96@gmail.com>
Co-authored-by: Félix Malfait <felix.malfait@gmail.com>
This commit is contained in:
Ady Beraud
2024-04-24 10:44:44 +03:00
committed by GitHub
parent fda0c3c93c
commit 0a7f82333b
27 changed files with 237 additions and 118 deletions

View File

@ -308,6 +308,7 @@
"ts-loader": "^9.2.3",
"ts-node": "10.9.1",
"tsconfig-paths": "^4.2.0",
"tsx": "^4.7.2",
"typescript": "5.3.3",
"vite": "^5.0.0",
"vite-plugin-checker": "^0.6.2",