{"id":20797893,"url":"https://github.com/jbips/server-supinfo","last_synced_at":"2026-02-28T15:01:35.709Z","repository":{"id":39862229,"uuid":"492851742","full_name":"JbIPS/server-supinfo","owner":"JbIPS","description":"Exercice de Nodejs pour les développeurs en herbe de SupInfo","archived":false,"fork":false,"pushed_at":"2022-05-24T09:39:41.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-06T19:03:51.206Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JbIPS.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-05-16T13:39:40.000Z","updated_at":"2022-05-16T13:41:07.000Z","dependencies_parsed_at":"2022-08-26T18:01:03.576Z","dependency_job_id":null,"html_url":"https://github.com/JbIPS/server-supinfo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JbIPS/server-supinfo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JbIPS%2Fserver-supinfo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JbIPS%2Fserver-supinfo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JbIPS%2Fserver-supinfo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JbIPS%2Fserver-supinfo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JbIPS","download_url":"https://codeload.github.com/JbIPS/server-supinfo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JbIPS%2Fserver-supinfo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29938970,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T13:49:17.081Z","status":"ssl_error","status_checked_at":"2026-02-28T13:48:50.396Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-17T16:35:45.230Z","updated_at":"2026-02-28T15:01:35.681Z","avatar_url":"https://github.com/JbIPS.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Exercice de serveur HTTP\n\n## Comment l'utiliser ?\nLe serveur peut être démarré en utilisant la commande `npm start`. Vous pouvez regarder dans le `package.json`, dans la propriété `scripts`, ce que fait cette commande.\n\nPour le client, vous pouvez tester votre serveur en rajoutant des requêtes dans le fichier `client.js` et le lancer avec la commande `node client.js`. Si vous le voulez, vous pouvez également créer un script dans le `package.json` pour faciliter le lancement de client. Attention, un nom de script est forcément unique ! Par convention, on peut regrouper des scripts en ajoutant des préfix avec `:`. Exemples : `start:server`, `start:client`, `test:server`, `test:client`, ….\n\n## Fonctions actuelles\n* Liste les produits disponibles\n* Récupère les informations d'un produits par son ID\n* Insère un produit avec l'ID fourni\n\n## Fonctions à implémenter\n- [] Corriger la route `PUT /products/:id` pour qu'elle remplace un produit existant\n- [] Créer une route permettant de rajouter des produits sans donner d'ID (lui en attribuer un  sur le serveur)\n- [] Créer une route permettant de supprimer un produit\n- [] Créer une route permettant de changer le prix d'un produit (sans l'écraser)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjbips%2Fserver-supinfo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjbips%2Fserver-supinfo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjbips%2Fserver-supinfo/lists"}