{"id":19694751,"url":"https://github.com/0xSafkat20/Course-registration_web","last_synced_at":"2025-04-29T10:31:05.149Z","repository":{"id":207778921,"uuid":"720072362","full_name":"0xSafkat20/Course-registration_web","owner":"0xSafkat20","description":"Course Registration Website","archived":false,"fork":false,"pushed_at":"2023-11-17T14:25:57.000Z","size":45,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T07:22:04.584Z","etag":null,"topics":["css3","html5","json","reactjs","tailwindcss","vite"],"latest_commit_sha":null,"homepage":"https://course-registration-sm.surge.sh/","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/0xSafkat20.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}},"created_at":"2023-11-17T14:17:28.000Z","updated_at":"2025-01-24T15:18:55.000Z","dependencies_parsed_at":"2023-11-17T16:09:00.949Z","dependency_job_id":null,"html_url":"https://github.com/0xSafkat20/Course-registration_web","commit_stats":null,"previous_names":["safkat-khan/course-registration_web","0xsafkat20/course-registration_web"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xSafkat20%2FCourse-registration_web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xSafkat20%2FCourse-registration_web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xSafkat20%2FCourse-registration_web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xSafkat20%2FCourse-registration_web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0xSafkat20","download_url":"https://codeload.github.com/0xSafkat20/Course-registration_web/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251483708,"owners_count":21596583,"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":["css3","html5","json","reactjs","tailwindcss","vite"],"created_at":"2024-11-11T19:24:25.501Z","updated_at":"2025-04-29T10:31:04.476Z","avatar_url":"https://github.com/0xSafkat20.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# **Course Registration**\n\n## **Project Features:**\n\n- Display website courses with details.\n- Show selected course names.\n- Present total credit hours and prices of chosen courses.\n- Prevent duplicate selections.\n- Enforce a 20-hour credit limit.\n- Implements a responsive design.\n\n---\n\n## **State Management:**\n\nIn this assignment project, state management is achieved using React's `useState` and `useEffect` hooks. The project tracks various pieces of information mentioned below:\n\n- `courses`: Contains course details. Fetched during website initialization using `useEffect`.\n\nBelow state updates occur when user clicks the 'Select' button, triggering the `handleSelect` function to modify these values.\n\n- `totalCredits`: Keeps track of the total credit hours of selected courses.\n- `remainingCredits`: Calculates and displays the remaining credit hours within the 20-hour limit.\n- `totalPrice`: Tracks the total cost of selected courses.\n- `courseNames`: Stores the names of selected courses.\n\n---\n\n### Visit the Live Webpage Here: [Course Registration](course-registration-sm.surge.sh)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xSafkat20%2FCourse-registration_web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0xSafkat20%2FCourse-registration_web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xSafkat20%2FCourse-registration_web/lists"}