
Weekend Annoying Task Challenge: RSVP Cleaner
RSVP Cleaner is a privacy-focused web application that cleans participant registration CSV files by detecting duplicates, missing information, invalid values and inconsistent confirmation statuses.
Organising an event involves many small tasks. One of the most repetitive is checking and cleaning participant registration data.
Registration details often come from Google Forms or other online forms as a CSV file. Before an event, organisers may need to identify duplicate registrations, missing contact details, invalid email addresses, incomplete responses, and participants who have not confirmed their attendance.
Checking every row manually takes time and can lead to mistakes.
To solve this problem, I built RSVP Cleaner, a browser-based application that converts a messy participant registration CSV file into clean, validated, and organised participant lists.
The application is hosted using AWS Amplify Hosting.
Vision and What the App Does
The idea for RSVP Cleaner came from my experience organising student and technology events.
Before an event, organisers need accurate participant information. They must know who has confirmed, who has not confirmed, which registrations are duplicated, and which records need further review.
This process is usually completed manually using spreadsheets. RSVP Cleaner automates the most repetitive parts.
The user uploads a CSV file containing the following headings:
The application then checks and normalises each participant record.
It can identify:
- Duplicate email addresses
- Duplicate registration numbers
- Missing participant names
- Missing email addresses
- Invalid email formats
- Missing registration numbers
- Missing confirmation responses
- Unsupported confirmation values
It also improves consistency in the data.
For example:
- Email addresses are converted to lowercase.
- Extra spaces are removed.
- Registration numbers with leading zeros are preserved.
-
yes,confirmed, andtrueare converted toYes.
-
no,unconfirmed, andfalseare converted toNo.
- Unsupported confirmation values are converted to
Unknown.
After processing the file, the application displays six summary values:
- Total participants
- Valid participants
- Confirmed participants
- Unconfirmed participants
- Duplicate participants
- Rows with issues
RSVP Cleaner also provides an issues table and a full participant preview.
Each record is marked as either:
-
Valid
-
Needs review
The application does not automatically delete duplicate records. Instead, it marks every row involved in a duplicate group. This allows the organiser to review the records and decide which entry should be kept.
Users can download four organised CSV files:
-
cleaned-participants.csv
-
confirmed-participants.csv
-
unconfirmed-participants.csv
-
participant-issues.csv
This creates a complete workflow, from uploading the original registration file to downloading clean participant lists.



How I Built It
I built RSVP Cleaner using:
- React
- TypeScript
- Vite
- Papa Parse
- Lucide React
- Plain CSS
- Vitest
- React Testing Library
React was used to build the interface and manage application states such as uploading, processing, success, errors, and reset.
TypeScript was used to define clear structures for participant records, validation issues, processing summaries, and exported data. This helped reduce development errors and made the processing logic easier to maintain.
Vite provided the local development environment and production build process.
Papa Parse was used to read and generate CSV files. It supports quoted values containing commas, empty-line handling, and string-based parsing. Treating every value as text was important because registration numbers may contain leading zeros.
The main processing workflow is:
- Validate the selected file.
- Confirm that it is a CSV file.
- Check that the file is not larger than 5 MB.
- Confirm that all required headings are present.
- Parse every participant row as text.
- Remove unnecessary spaces.
- Normalise email addresses and response values.
- Validate required fields.
- Detect duplicate emails and registration numbers.
- Calculate the summary values.
- Display the issues and participant preview.
- Generate CSV files for download.
One important decision was to process everything inside the browser.
Participant registration files may contain names, email addresses, registration numbers, and other personal information. The application does not need to store or share this information.
For that reason, user-selected CSV files are not sent to a server, database, API, or external service.
Duplicate Detection Challenge
A basic duplicate check may only mark the second occurrence of a value. However, an organiser needs to see every record involved in a duplicate group.
I implemented the duplicate detection so that all matching rows are marked.
The comparison is case-insensitive and ignores surrounding spaces. For example:
These values are treated as the same email address.
Empty email addresses and registration numbers are not treated as duplicates. They are handled as missing-field issues.
CSV Formula Injection Protection
Spreadsheet applications may treat values beginning with certain characters as formulas.
These characters include:
Before creating a downloadable CSV file, RSVP Cleaner adds a single quote before any value that begins with one of these characters.
For example:
is exported as:
This reduces the risk of spreadsheet formula injection when exported files are opened.
Testing
I used Vitest and React Testing Library to test the application.
The project includes 41 automated tests covering areas such as:
- Required heading validation
- UTF-8 BOM handling
- Email normalisation
- Email validation
- Confirmation normalisation
- Duplicate detection
- Missing-field validation
- Original row-number preservation
- Summary calculation
- Participant filtering
- CSV export protection
- Interface states
- Download-button behaviour
These tests helped confirm that the main processing rules continued to work while the application was being developed.



AWS Services Used and Architecture Overview
RSVP Cleaner uses AWS Amplify Hosting.
AWS Amplify builds, hosts, and delivers the React application.
The Amplify application is connected to the public GitHub repository. When a new commit is pushed to the
main branch, Amplify automatically installs the dependencies, creates the Vite production build, and deploys the updated application.The project does not require AWS Lambda, Amazon DynamoDB, Amazon S3 file storage, or a backend API.
AWS Amplify is used only to host the frontend application. CSV processing takes place locally inside the user’s browser.
Architecture
The workflow begins when the user opens the application through the AWS Amplify URL.
Amplify delivers the frontend files to the browser. The user then selects a CSV file from their device.
All parsing, validation, duplicate detection, normalisation, and export generation happen locally.
This architecture keeps the application:
- Simple
- Fast
- Privacy-focused
- Cost-efficient
- Easy to deploy
- Easy to maintain



What I Learned
This challenge helped me understand that a useful application does not need to be large or complicated.
RSVP Cleaner focuses on one repetitive task and completes it from start to finish.
During the project, I gained practical experience in:
- Processing CSV files inside a React application
- Designing clear validation rules
- Detecting duplicate data
- Preserving registration numbers as text
- Protecting exported CSV files
- Writing strict TypeScript types
- Building responsive data tables
- Improving accessibility
- Writing automated tests
- Deploying a Vite application with AWS Amplify
- Connecting GitHub with continuous deployment
I also learned that the architecture should match the problem.
It may seem that an AWS project should include several services, such as Lambda or DynamoDB. However, RSVP Cleaner does not need server-side processing or permanent data storage.
AWS Amplify Hosting was enough to deploy the application while keeping participant information inside the user’s browser.
Another important lesson was not to change user data automatically when a decision may require human review.
For example, RSVP Cleaner does not delete duplicates. It reports them clearly and allows the organiser to make the final decision.
This makes the application more practical and safer for real event-management work.
Link to App and Repository
The repository contains:
- Complete React and TypeScript source code
- Fictional sample CSV data
- Automated tests
- AWS Amplify configuration
- Local setup instructions
- Architecture documentation
- Privacy information
- Project screenshots
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article