Commit Graph

10 Commits

Author SHA1 Message Date
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
08c820ac35 added Readme 2025-08-11 18:44:18 +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