Commit Graph

8 Commits

Author SHA1 Message Date
3096e4ab83 feat: add entry removal and row saving functionality, enhance admin components with localization 2025-08-13 21:48:19 +02:00
dd4fcea1b0 feat: enhance CSV import functionality, integrate react-query for data fetching, and refactor admin components 2025-08-13 16:43:26 +02:00
42d68181f9 created backend to create lottery entries manually 2025-08-13 12:21:12 +02:00
8c2049fa24 feat: add authentication and admin features
- Added `jose` library for JWT token generation and verification.
- Implemented login functionality with token storage using cookies.
- Created `HeaderAdmin` component for admin panel with login/logout capabilities.
- Developed `LoginForm` component for user authentication.
- Added `Table` component to display data with caching from localStorage.
- Introduced `SubHeaderAdmin` for additional admin actions.
- Enhanced `database.js` with functions for admin login and fetching table data.
- Updated `server.js` to handle new routes for login and table data retrieval.
- Modified `package.json` and `package-lock.json` to include new dependencies.
2025-08-12 22:56:58 +02:00
0a2f1e650d Enhance backend and frontend setup with MySQL integration, Docker configurations, and toast notifications
- Updated .gitignore to include additional environment and build files
- Configured Dockerfiles for backend and frontend with npm install and port exposure
- Added MySQL connection pool and query function in backend services
- Implemented form submission with toast notifications in MainForm component
- Updated package.json and package-lock.json for new dependencies
- Enhanced routing and layout in frontend with toast notifications
2025-08-11 19:56:43 +02:00
d92759a7c3 Add EJS as a dependency and implement form submission in MainForm component 2025-08-11 18:42:15 +02:00
ba62beb90d Add backend and frontend structure with routing, components, and styling
- Implemented Express server with CORS and dotenv support
- Created basic routing with React Router in frontend
- Added Admin and Home components with navigation
- Integrated MainForm component for user input
- Updated package.json and package-lock.json with new dependencies
- Styled components using Tailwind CSS and Lucide icons
- Added error handling in server
- Created initial EJS view for backend
2025-08-11 18:29:06 +02:00
1356775e07 inital init 2025-08-11 11:59:52 +02:00