https://github.com/darshanas17/appointments-app-react
The Appointments App is a simple yet interactive React application that allows users to add, star, and filter their appointments efficiently. The app leverages React's state management to dynamically update the list of appointments and apply filters.
https://github.com/darshanas17/appointments-app-react
appointment-app css html javascript reactjs state-management ui-design
Last synced: 2 months ago
JSON representation
The Appointments App is a simple yet interactive React application that allows users to add, star, and filter their appointments efficiently. The app leverages React's state management to dynamically update the list of appointments and apply filters.
- Host: GitHub
- URL: https://github.com/darshanas17/appointments-app-react
- Owner: Darshanas17
- Created: 2025-03-26T04:17:49.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-26T04:29:43.000Z (about 1 year ago)
- Last Synced: 2025-07-11T15:54:00.142Z (11 months ago)
- Topics: appointment-app, css, html, javascript, reactjs, state-management, ui-design
- Language: JavaScript
- Homepage: https://darshanas17.github.io/Appointments-App-React/
- Size: 478 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Appointments App
## π Live Demo
[Click here to view the demo](https://Darshanas17.github.io/Appointments-App-React/)
## π Overview
The **Appointments App** is a simple yet interactive React application that allows users to add, star, and filter their appointments efficiently. The app leverages React's state management to dynamically update the list of appointments and apply filters.
### β
Refer to the image below:
## β¨ Features
- **Add Appointments:** Users can enter an appointment title and date, which will be added to the list.
- **Star Appointments:** Users can mark important appointments by clicking the star icon.
- **Filter Starred Appointments:** Users can filter and view only starred appointments.
- **Responsive Design:** The app is optimized for various screen sizes.
## π οΈ Tech Stack
- **React.js** - Frontend UI
- **CSS** - Styling
- **date-fns** - Formatting dates
## βοΈ Installation & Setup
Follow these steps to set up the project locally:
1. **Clone the Repository**
```bash
git clone https://github.com/Darshanas17/Appointments-App-React.git
cd Appointments-App-React
```
2. **Install Dependencies**
```bash
npm install
```
3. **Run the Application**
```bash
npm start
```
4. Open the browser and visit `http://localhost:3000/` to see the app in action.
## π Components Structure
The application consists of the following components:
- **Appointments** (`src/components/Appointments/`)
- **AppointmentItem** (`src/components/AppointmentItem/`)
## π― Functionality
- The app starts with an empty list.
- Users can add new appointments using the input fields.
- Clicking on the **Star** icon marks an appointment as important.
- Clicking the **Starred** filter displays only starred appointments.
## π¨ Design & Assets
- UI designed using **Roboto** font.
- Colors used:
- `#9796f0` (Primary)
- `#fbc7d4` (Accent)
- `#171f46` (Text)
- `#ffffff` (Background)
- Icons and images sourced from: [CCBP Assets](https://assets.ccbp.in/frontend/react-js/appointments-app/)
## π‘ Quick Tips
- Use `` for date selection.
- Format dates using `format` from **date-fns**:
```js
import { format } from "date-fns";
console.log(format(new Date(2025, 2, 26), "dd MMMM yyyy, EEEE")); // 26 March 2025, Wednesday
```
## π¨βπ» Author
**Darshan A S**
- [LinkedIn](https://www.linkedin.com/in/darshan-a-s/)
- [Portfolio](https://darshanas17.github.io/darshan-as-17-portfolio/)
## π License
This project is licensed under the **MIT License**.