Theis Gaedigk a8b4ac3d60 Refactor loan and user management components and backend routes
- Updated LoanTable component to fetch loan data from new API endpoint and display notes.
- Enhanced UserTable component to include additional user fields (first name, last name, email, admin status) and updated input handling.
- Modified fetcher utility to use new user data API endpoint.
- Adjusted login functionality to point to the new admin login endpoint and handle unauthorized access.
- Refactored user actions utility to align with updated API endpoints for user management.
- Updated backend routes for user and loan data management to reflect new structure and naming conventions.
- Revised SQL schema and mock data to accommodate new fields and constraints.
- Changed Docker configuration to use the new database name.
2025-11-11 17:08:45 +01:00
2025-11-03 21:12:58 +01:00
2025-09-29 10:53:50 +02:00
2025-08-20 18:14:15 +02:00

Borrow System

React TypeScript Vite TailwindCSS Node.js Express MySQL Docker JWT

A small fullstack system to log in, view available items, reserve them for a time window, and manage personal loans.

  • Frontend: React + TypeScript + Vite + Tailwind CSS
  • Backend: Node.js + Express + MySQL + JWT (jose)
  • Orchestration: Docker Compose (backend + MySQL)

Contents

Features (highlevel)

  • Auth via JWT (login -> token cookie) using the backend route in backend/routes/api.js.
  • After login, the app loads items, loans, and user loans and keeps them in localStorage.
  • Choose a date range to fetch borrowable items, select items, and create a loan.
  • Manage personal loans list (and delete a loan).

Key frontend utilities:

UI flow (main screens):

Development

Configuration notes

API documentation

Refer to the dedicated API docs:

docs/backend_API_docs/README.md

Description
Made with ❤️ by Theis Gaedigk - Jahrgang 2019 Adminpanel: https://admin.insta.the1s.de Landingpage: https://admin.insta.the1s.de/api
https://insta.the1s.de
Readme 4.9 MiB
v1.2 Latest
2025-11-17 21:48:44 +01:00
Languages
TypeScript 60.2%
JavaScript 37.4%
CSS 1.5%
Dockerfile 0.4%
HTML 0.3%
Other 0.2%