feat: Implemented Database Updates using CSV
closes #19 (closed)
- Added a new dataset selection page for improved user navigation.
- Integrated upload forms on each individual page for streamlined data handling.
- Enhanced security measures for all admin pages to ensure data integrity and confidentiality
- Integrated Prisma client to delete existing records and batch insert new data from the parsed CSV into the
heatDemand
table. - Included user feedback for upload status and redirection based on authentication
- Implemented parseCSV library for parsing new csv upload data.
- Added proactive data update functionality for energy efficiency and hourly consumption maps in anticipation of their future implementation.
- Introduced alerts to enhance user interaction
-
- Please Use new .env file located in Notion