This is the frontend component of what is going to be the new flathub.org You can find the used backend here: https://github.com/flathub/backend/ it's currently not hosted anywhere, so you'll need to run it locally.
You'll need git, yarn, docker and docker-compose.
Go to the folder where you manage your projects and run this. It will checkout both repos you'll need.
git checkout [email protected]:flathub/backend.git
git checkout [email protected]:flathub/frontend.gitThen start the backend:
cd backend
docker-compose upUse another terminal session to run the following or use your browser to go to localhost:8000/docs and use the UI to run the /update endpoint.
curl -X POST localhost:8000/updateThen open a terminal and go the the frontend folder. If it's the first time you run it, run
yarnThen you should be able to start the dev server and see changed to the code:
yarn dev