An open API service indexing awesome lists of open source software.

https://github.com/romashka-dev/birthday-buddy

ReactJS advanced: Birthday Buddy app
https://github.com/romashka-dev/birthday-buddy

Last synced: 5 months ago
JSON representation

ReactJS advanced: Birthday Buddy app

Awesome Lists containing this project

README

          

# Birthday Buddy °🥂⋆.ೃ🍾࿔\*:・

[![Netlify Status](https://api.netlify.com/api/v1/badges/0286bf9b-fd8c-4fbb-a1c7-28b10a782261/deploy-status)](https://app.netlify.com/sites/bday-buddy/deploys)

This ReactJS application demonstrates the basics of working with state, lists, and components.

## Figma URL

[Birthday Buddy](https://www.figma.com/file/e2vsLe9DMnXZIygNHkwGL1/Birthday-buddy?node-id=0%3A1&t=AGNWdO5QQGOoNCfD-1)

## The development process included the following steps:

**1. Data Import:** An array of objects containing information about people (name, age, and image URL) is used as the initial data source.

**2. State Setup:** The data is integrated into the component using the useState hook for dynamic management.

**3. List Rendering:** The List and Person components display the list of people using the map method.

**4. Clear Button:** Functionality to clear the list by resetting the state has been implemented.

## Getting Started

Follow these steps to set up the project on your local machine:

### Prerequisites

Ensure you have the following installed:

- [Node.js](https://nodejs.org/)
- [npm](https://www.npmjs.com/) or [yarn](https://yarnpkg.com/)

### Installation

1. **Clone the repository:**

```bash
git clone https://github.com/yourusername/birthday-buddy.git
cd birthday-buddy
```

2. **Install dependencies:**

```
npm install
# or
yarn install
```

3. **Start the development server:**

```
npm run dev
# or
yarn dev
```

4. **Open the application in your browser:**

```
http://localhost:5173
```

### Contributing

Contributions are welcome! Please fork this repository and submit a pull request with your improvements.

### License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.