38 Commits

Author SHA1 Message Date
9241257d30 Merge branch 'feature/test' 2025-07-25 12:20:51 +02:00
fcb8af574c all bugs removed 2025-07-25 11:46:28 +02:00
Phil Leon Kersting
e9e3343f26 error fixes by gpt 2025-07-25 11:26:19 +02:00
93d535dad9 added with bugs 2025-07-25 10:50:00 +02:00
6a8d13b69b shortened the server.js file 2025-07-25 09:55:31 +02:00
7abed30091 added api router to backend and fixed badge when reloading the website 2025-07-25 09:54:34 +02:00
850c475329 added functional badges. You still have to reload the page manually aft every event.
Going to fix this in one of the next commits.
2025-07-24 19:10:27 +02:00
Phil Leon Kersting
a80720fe5f update bugs 2025-07-24 17:30:05 +02:00
6da6693c17 addded toast badge function
Currently, after every Event, you have to reload the page manually!!!
2025-07-24 15:21:57 +02:00
b69b446e3d feat: refactor user handling and integrate toast notifications for login feedback 2025-07-24 14:12:06 +02:00
06dd1fc80e feat: implement dark mode support across components and update theme functions 2025-07-24 12:35:02 +02:00
6ff96fbe87 added dark mode function - not very functonal at this point 2025-07-24 11:51:03 +02:00
15da52810b docs: update README to clarify project status and future improvements 2025-07-24 11:50:38 +02:00
d1bb95c2a8 added Function to recognise the frontend if the logged in user is an admin or not. 2025-07-24 11:30:00 +02:00
85113daf45 docs: format project structure section for better readability 2025-07-23 20:12:31 +02:00
dcfdfe9d86 docs: add initial README with project overview, features, and setup instructions 2025-07-23 20:11:31 +02:00
46dacf1ef7 refactor: clean up commented-out code and improve theme handling 2025-07-23 19:47:46 +02:00
e56278fa82 feat: add user update functionality and theme management 2025-07-23 19:45:21 +02:00
a7ee03bce0 updated scheme 2025-07-23 14:57:40 +02:00
4fed3d96f6 feat: implement user management features including user deletion and role-based access 2025-07-23 14:55:21 +02:00
584473ba41 changed ports and networking for new react frontend 2025-07-23 12:10:29 +02:00
d552f40c2d changed project struture.
Also addded a functional JWT token service.

Also added user react frontend
2025-07-23 11:59:59 +02:00
2b4b554c24 Added some debugging to the token service file.
And converted the sidebar script to a react component.
2025-07-23 10:29:11 +02:00
3ef99aebfe re formatted code 2025-07-22 21:15:10 +02:00
be7d49820d fix: ensure proper cleanup during logout by removing token and users from storage 2025-07-22 21:14:01 +02:00
f05bb4c23c added role column to table 2025-07-22 21:12:30 +02:00
eb28eed69b changed design and icons for the whole website 2025-07-22 21:01:44 +02:00
e019eb75be refactor: improve header component layout and button styling 2025-07-22 19:47:56 +02:00
b249c73aa4 added jwt service. Currently it has some bugs and it is not very functional.
Also restructured the project a bit - created a service folder for the database script and the token script.
2025-07-22 19:39:54 +02:00
c2a035ca34 added dependecies to later create the jwt token.
Those I have installed with npm, to be more specific with: npm install express cookie-parser body-parser jose
2025-07-22 17:05:41 +02:00
c35838b034 added Login function.
Also added user table but insecure. (In the next time, going to secure the get all users.)

Also noted out the react frontend from the docker compose file - just for development purposes.

I have also created some utils to logout the user and to get all users.
2025-07-22 16:47:44 +02:00
cb206c10bb added react layout with header, main and footer 2025-07-22 12:41:55 +02:00
b9699bd512 fix: update import path for App component in main.tsx
feat: add error handling middleware in server.js
2025-07-21 20:56:11 +02:00
7ab62b8d13 Add circle-user-solid.svg icon from Font Awesome 2025-07-21 20:42:11 +02:00
e4bceb8258 Add CORS middleware and user database schema
- Implemented CORS middleware in the project to handle cross-origin requests.
- Added necessary files for the CORS package including README, LICENSE, and history documentation.
- Created a SQL schema for the users table with appropriate fields and constraints.
- Inserted mock data into the users table for testing purposes.
2025-07-21 17:38:25 +02:00
46fa608a47 feat: initialize React client with Vite setup
- Added package.json with dependencies for React, Vite, TypeScript, and ESLint.
- Included Vite logo SVG and React logo SVG in the public and assets directories respectively.
- Created main application component (App.tsx) with basic structure and state management.
- Added global styles in index.css and component-specific styles in App.css.
- Configured TypeScript with tsconfig files for app and node environments.
- Set up Vite configuration for development server with specified host and port.
2025-07-21 15:20:41 +02:00
c4c8db94a6 added more structure to project 2025-07-21 14:51:10 +02:00
22b358f543 added project structure 2025-07-21 13:41:42 +02:00