Commit Graph

16 Commits

Author SHA1 Message Date
bb63388986 feat: update losnummer label to include input format instructions 2025-08-13 22:09:57 +02:00
c4c805083a feat: add maxLength validation to form inputs and improve saveRow feedback 2025-08-13 22:08:54 +02:00
3096e4ab83 feat: add entry removal and row saving functionality, enhance admin components with localization 2025-08-13 21:48:19 +02:00
5792ce154f removed unnessearry stuff 2025-08-13 16:43:53 +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
42f46db2c9 feat: implement admin login form localization, add import functionality, and enhance file handling 2025-08-13 11:57:50 +02:00
9dd7b6641a added import lottery number gui, but currently only frontend. The backend is currently NaN. 2025-08-13 11:57:33 +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
97eaf1e484 Refactor layout components to include title prop and update header rendering; modify index and home pages for improved structure and icon usage 2025-08-11 20:10:36 +02:00
11384103c9 Refactor toast notifications and update MainForm submission messages 2025-08-11 20:01:02 +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
38b02c186f created react structure 2025-08-11 12:33:59 +02:00
cb5df58a37 installed tailwind css 2025-08-11 12:23:31 +02:00
1356775e07 inital init 2025-08-11 11:59:52 +02:00