This project is an Event Management System built to handle events and tasks using CSV file uploads. It includes features for adding events, assigning tasks to those events, and validating the data for correctness. The application leverages HTML, CSS, and JavaScript to provide an intuitive interface and functionality.
- Add Events: Upload a CSV file to add multiple events, including their start and end dates.
- Add Tasks: Upload a CSV file to assign tasks to existing events.
- Data Validation: Ensure no overlapping events, validate date formats, and check for empty fields.
- User Interface: A simple, user-friendly interface with error handling and feedback.
To get started with this project, follow these steps:
- Web browser (Google Chrome, Firefox, Safari, etc.)
- Basic knowledge of HTML, CSS, and JavaScript.
-
Clone the Repository:
git clone https://github.com/xreedev/EventManagement.git
-
Navigate to the Project Directory:
cd EventManagement
-
Open the Project:
Open
index.html
in your preferred web browser. You can do this by double-clicking theindex.html
file or using a local server if you prefer.
-
Open the Application: Launch the
index.html
file in your browser. -
Select CSV Type: Choose whether you are uploading an "Events" CSV or a "Tasks" CSV from the dropdown menu.
-
Upload CSV File: Click the "Choose File" button to select and upload a CSV file. Ensure that the file matches the expected format:
-
Events CSV Format:
eventid,eventname,start_date,end_date
-
Tasks CSV Format:
eventid,task_name
-
-
View Notifications: If there are issues with the data (e.g., missing values, overlapping events), appropriate warnings will be displayed.
-
Events CSV:
eventid
: Unique identifier for the event.eventname
: Name of the event.start_date
: Start date of the event inYYYY-MM-DD
format.end_date
: End date of the event inYYYY-MM-DD
format.
-
Tasks CSV:
eventid
: Identifier of the event to which the task belongs.task_name
: Name of the task.
Here are examples of valid CSV files:
-
Events.csv:
eventid,eventname,start_date,end_date E001,Conference,2024-08-01,2024-08-05 E002,Workshop,2024-09-10,2024-09-12
-
Tasks.csv:
eventid,task_name E001,Prepare agenda E001,Send invitations E002,Book venue
- File Not Selected: A message will prompt you to select a file.
- Incorrect File Extension: Only CSV files are accepted.
- Data Validation Errors: Issues with dates or overlapping events will be reported with detailed messages.
Contributions to this project are welcome. If you have suggestions or improvements, please submit a pull request or open an issue on GitHub.
This project is licensed under the MIT License - see the LICENSE file for details.
- Google Fonts: For providing professional fonts used in the project.
- CSV Libraries: For handling CSV parsing and validation.