Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/monamobeen/cards
๐A React-based web app for submitting and managing form data with interactive card ๐and table views, gender/department filters, and data persistence using localStorage.
https://github.com/monamobeen/cards
bootstrap5 hooks reactjs
Last synced: 10 days ago
JSON representation
๐A React-based web app for submitting and managing form data with interactive card ๐and table views, gender/department filters, and data persistence using localStorage.
- Host: GitHub
- URL: https://github.com/monamobeen/cards
- Owner: MonaMobeen
- Created: 2024-12-20T08:17:40.000Z (19 days ago)
- Default Branch: main
- Last Pushed: 2024-12-20T09:25:39.000Z (19 days ago)
- Last Synced: 2024-12-20T10:30:49.013Z (19 days ago)
- Topics: bootstrap5, hooks, reactjs
- Language: JavaScript
- Homepage:
- Size: 352 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
React Form Cards
This project is a React-based web application that allows users to submit and manage form data. Users can input details such as name, gender, department, and age, and view the data in either a card layout with flip animations or a table format. The application includes filtering options and persists data using
localStorage
.ย
Features:
- User-friendly form for submitting data.
- Data persistence using
localStorage
. - Interactive display modes: Card view with 3D flip animations and Table view.
- Filters for gender and department to refine displayed data.
- Bootstrap-based responsive design with custom CSS styling.
ย
Example 1:
Input: User enters the following:
{
"name": "Mona",
"gender": "Female",
"department": "MERN dept",
"age": "19"
}Output (Card View):
Front:
Name: Mona
Gender: FemaleBack:
Department: MERN dept
Age: 19
ย
Example 2:
Input: User applies the filter: Gender = "Female".Output (Table View):
| Name | Gender | Department | Age |
|-------|--------|-------------|-----|
| Mona | Female | MERN dept | 19 |
ย
Constraints:
- Users must provide a valid name, gender, department, and age in the form.
- Filters are optional and can be used to refine the displayed data.
- The app is designed for use on modern web browsers with
localStorage
support.
ย
Installation:
Step 1: Clone the repository.git clone https://github.com/MonaMobeen/react-form-cards.git
Step 2: Navigate to the project directory.
cd react-form-cards
Step 3: Install dependencies.
npm install
Step 4: Start the development server.
npm start
ย
Technologies Used:
-
React: For building the user interface. -
Bootstrap 5: For responsive design and styling. -
CSS: For custom animations and styles. -
localStorage: For persisting user data across sessions.
ย
---