This repository has been archived by the owner on Mar 22, 2024. It is now read-only.
Github Frontend #149
Labels
Frontend
HTML, CSS & other visual elements
Priority medium
Not immediately important, but very relevant
Task normal
Takes average knowledge and time to do
Generally
Currently the path localhost/api/github points at ressources/views/project/githubtemp.ejs as the frontend
This should be changed to be a widget like the others although the controller is still WIP
Webhook Frontend
The messages requires github-api-2 branch to be merged in first, but after that there will be webhook messages(max 10) which will be reachable using fetch() in public/gitHubWebhook.js
fetch('/api/github/webhook?projectID=627516c7476e393f541af189', { method: 'GET', cache: 'no-cache' }) .then(response => response.json()).then(data => console.log(data));
example output (json): exampleoutput.json.txt
As long as the "Sexytime" project isn't deleted this fetch() will work, but if the fetch() stops working just use the example.json instead
The text was updated successfully, but these errors were encountered: