{"id":26776769,"url":"https://github.com/xelo04/react-basics","last_synced_at":"2026-04-11T03:31:47.865Z","repository":{"id":284972816,"uuid":"956661972","full_name":"Xelo04/React-Basics","owner":"Xelo04","description":"React Basics is a personal project showcasing the fundamentals of React, TypeScript, and Bootstrap. It demonstrates reusable components, state management, and modern UI design in a React application.","archived":false,"fork":false,"pushed_at":"2025-03-28T20:44:18.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T21:31:08.736Z","etag":null,"topics":["bootstrap","react","reactjs","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Xelo04.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2025-03-28T16:29:38.000Z","updated_at":"2025-03-28T20:44:21.000Z","dependencies_parsed_at":"2025-03-28T21:31:09.220Z","dependency_job_id":null,"html_url":"https://github.com/Xelo04/React-Basics","commit_stats":null,"previous_names":["xelo04/reactbasiscs","xelo04/react-basics"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Xelo04/React-Basics","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xelo04%2FReact-Basics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xelo04%2FReact-Basics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xelo04%2FReact-Basics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xelo04%2FReact-Basics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Xelo04","download_url":"https://codeload.github.com/Xelo04/React-Basics/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xelo04%2FReact-Basics/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259559623,"owners_count":22876494,"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":["bootstrap","react","reactjs","typescript"],"created_at":"2025-03-29T04:24:04.145Z","updated_at":"2025-12-30T21:55:15.708Z","avatar_url":"https://github.com/Xelo04.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Basics\n\nReact Basics is a personal project designed to showcase the fundamentals of **React**, **TypeScript**, and **Bootstrap**. This project demonstrates the creation of reusable components, state management, and event handling in a modern React application.\n\n---\n\n## 📖 Table of Contents\n\n- [🚀 Features](#-features)\n- [📂 Project Structure](#-project-structure)\n- [🛠️ Technologies Used](#️-technologies-used)\n- [🌟 Key Functionalities](#-key-functionalities)\n- [⚙️ Installation and Usage](#️-installation-and-usage)\n- [🤝 Contributing](#-contributing)\n- [📜 License](#-license)\n\n---\n\n## 🚀 Features\n\n- **Reusable Components**: Modular and reusable React components like `Button`, `Alert`, and `ListGroup`.\n- **State Management**: Demonstrates the use of React's `useState` hook for managing component state.\n- **TypeScript Integration**: Strongly typed components and props for better developer experience.\n- **Bootstrap Styling**: Clean and responsive design using Bootstrap.\n\n---\n\n## 📂 Project Structure\n\n```\nReactBasics/\n│── public/\n│   └── vite.svg # Public assets\n│── src/\n│   ├── assets/\n│   │     └── react.svg # React logo\n│   ├── components/ # Reusable React components\n│   │     ├── Alert.tsx # Alert component\n│   │     ├── Button.tsx # Button component\n│   │     └── ListGroup.tsx # ListGroup component\n│   ├── App.tsx # Main application component\n│   ├── App.css # Global styles\n│   ├── Message.tsx # Message component\n│   ├── main.tsx # Entry point of the application\n│   └── vite-env.d.ts # Vite environment types\n│── index.html # HTML entry point\n├── package.json # Project dependencies and scripts\n├── tsconfig.json # TypeScript configuration\n├── tsconfig.node.json # TypeScript configuration for Vite\n├── vite.config.ts # Vite configuration\n└── README.md # Project documentation\n```\n\n---\n\n## 🛠️ Technologies Used\n\n- **React**: For building user interfaces.\n- **TypeScript**: For type safety and better code maintainability.\n- **Bootstrap**: For responsive and modern styling.\n- **Vite**: For fast development and build tooling.\n\n---\n\n## 🌟 Key Functionalities\n\n1. **Alert Component**:\n\n   - Displays dismissible alerts with custom content.\n   - Example usage: `\u003cAlert onClose={() =\u003e {}}\u003eMy Alert\u003c/Alert\u003e`.\n\n2. **Button Component**:\n\n   - Customizable buttons with different colors and click handlers.\n   - Example usage: `\u003cButton color=\"primary\" onClick={() =\u003e {}}\u003eClick Me\u003c/Button\u003e`.\n\n3. **ListGroup Component**:\n\n   - Displays a list of items with click functionality.\n   - Example usage:\n     ```tsx\n     \u003cListGroup\n       items={[\"Item 1\", \"Item 2\"]}\n       heading=\"My List\"\n       onSelectItem={(item) =\u003e console.log(item)}\n     /\u003e\n     ```\n\n4. **State Management**:\n   - Demonstrates the use of `useState` for managing visibility and selection states.\n\n---\n\n## ⚙️ Installation and Usage\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/your-username/ReactBasics.git\n   ```\n2. Install dependencies:\n   ```bash\n   npm install\n   ```\n3. Start the development server:\n   ```bash\n   npm run dev\n   ```\n4. Open the application in your browser at\n   ```bash\n   http://localhost:5173\n   ```\n\n---\n\n## 🤝 Contributing\n\nContributions are welcome! If you have suggestions or improvements, feel free to fork the repository and submit a pull request.\n\n---\n\n## 📜 License\n\nThis project is under the MIT License - see the [LICENSE](./LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxelo04%2Freact-basics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxelo04%2Freact-basics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxelo04%2Freact-basics/lists"}