{"id":25828267,"url":"https://github.com/johanhauteville/kasa","last_synced_at":"2026-05-08T04:20:08.562Z","repository":{"id":186340161,"uuid":"675023587","full_name":"JohanHauteville/kasa","owner":"JohanHauteville","description":"Projet 11: Développer une application Web avec React et React Router","archived":false,"fork":false,"pushed_at":"2023-08-25T15:24:30.000Z","size":3558,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-28T21:17:13.136Z","etag":null,"topics":["react","react-router","reactjs"],"latest_commit_sha":null,"homepage":"","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/JohanHauteville.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-05T14:20:24.000Z","updated_at":"2023-09-07T19:17:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"8e06c004-d8b1-41eb-990b-fe1783a65c26","html_url":"https://github.com/JohanHauteville/kasa","commit_stats":null,"previous_names":["johanhauteville/kasa"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JohanHauteville/kasa","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohanHauteville%2Fkasa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohanHauteville%2Fkasa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohanHauteville%2Fkasa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohanHauteville%2Fkasa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JohanHauteville","download_url":"https://codeload.github.com/JohanHauteville/kasa/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohanHauteville%2Fkasa/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265402833,"owners_count":23759237,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["react","react-router","reactjs"],"created_at":"2025-02-28T17:35:08.119Z","updated_at":"2026-05-08T04:20:03.541Z","avatar_url":"https://github.com/JohanHauteville.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![alt text](./src/assets/logo.png)\n\n# Projet React : Kasa - Location d'appartements entre particuliers\n\n## Description\n\nCe projet est le onzième de la formation de développeur d'application React de chez OpenCLassrooms.\n\nDans ce projet on nous demande de lancer la refonte d'un site web en partant de maquettes disponibles à cet adresse :\nhttps://www.figma.com/file/bAnXDNqRKCRRP8mY2gcb5p/UI-Design?node-id=4%3A1\n\nAinsi que de Coding quidelines:\nhttps://course.oc-static.com/projects/Front-End+V2/P9+React+1/Coding+guidelines+Kasa+FR.pdf\n\nEt d'un fichier JSON pour simuler le BackEnd:\nhttps://s3-eu-west-1.amazonaws.com/course.oc-static.com/projects/Front-End+V2/P9+React+1/logements.json\n\n## Outils et Contraintes techniques\n\n### Outils standards\n\n- Create React App\n- React Routeur\n- Styling : CSS\n- Pas de librairie React Externe\n\n### Contraintes techniques\n\n#### React:\n\n- Découpage en composants modulaires et réutilisables\n- Un composant par fichier\n- Structure logique des différents fichiers\n- Utilisation des props entre les composants\n- Utilisation du state dans les composants quand c'est nécessaire\n- Gestion des événements\n- Listes: React permet de faire des choses vraiment intéressantes avec les listes, en itérant dessus, par exemple avec map. Il faut les utiliser autant que possible.\n\nIl est également recommandé, mais pas imposé, d'utiliser des composants fonctionnels plutôt que des composants classes.\n\n#### React Router:\n\n- Les paramètres des routes sont gérés par React Router dans l'URL pour récupérer les informations de chaque logement.\n- Il existe une page par route\n- La page 404 est renvoyée pour chaque route inexistante, ou si une valeur présente dans l'URL ne fait pas partie des données renseignées.\n- La logique du routeur est réunie dans une seul fichier\n\n## Scripts disponibles\n\nDans ce projet, vous pouvez lancer:\n\n### `yarn start`\n\nRuns the app in the development mode.\\\nOpen [http://localhost:3000](http://localhost:3000) to view it in your browser.\n\nThe page will reload when you make changes.\\\nYou may also see any lint errors in the console.\n\n### `yarn test`\n\nLaunches the test runner in the interactive watch mode.\\\nSee the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.\n\n### `yarn build`\n\nBuilds the app for production to the `build` folder.\\\nIt correctly bundles React in production mode and optimizes the build for the best performance.\n\nThe build is minified and the filenames include the hashes.\\\nYour app is ready to be deployed!\n\nSee the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.\n\n### `yarn eject`\n\n**Note: this is a one-way operation. Once you `eject`, you can't go back!**\n\nIf you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.\n\nInstead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.\n\nYou don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.\n\n## Learn More\n\nYou can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).\n\nTo learn React, check out the [React documentation](https://reactjs.org/).\n\n### Code Splitting\n\nThis section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)\n\n### Analyzing the Bundle Size\n\nThis section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)\n\n### Making a Progressive Web App\n\nThis section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)\n\n### Advanced Configuration\n\nThis section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)\n\n### Deployment\n\nThis section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)\n\n### `yarn build` fails to minify\n\nThis section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohanhauteville%2Fkasa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohanhauteville%2Fkasa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohanhauteville%2Fkasa/lists"}