Commit Graph

35 Commits

Author SHA1 Message Date
Knee Cola
362a49e3cd refactor: simplify to independent multi-project structure
Removed npm workspace configuration in favor of simple multi-project repository.
Each project (web-app, housekeeping) is now completely self-contained.

## Changes
- Removed root package.json and package-lock.json
- Added VS Code workspace file for better project organization
- Updated documentation to reflect independent project structure
- Each project manages its own dependencies without workspace linking

## Structure
- web-app/: Self-contained Next.js application
- housekeeping/: Self-contained DB maintenance scripts
- No workspace management or dependency sharing
- Monorepo is purely for Git organization

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-25 12:25:46 +01:00
Knee Cola
57dcebd640 refactor: convert repository to monorepo with npm workspaces
Restructured the repository into a monorepo to better organize application code
and maintenance scripts.

## Workspace Structure
- web-app: Next.js application (all app code moved from root)
- housekeeping: Database backup and maintenance scripts

## Key Changes
- Moved all application code to web-app/ using git mv
- Moved database scripts to housekeeping/ workspace
- Updated Dockerfile for monorepo build process
- Updated docker-compose files (volume paths: ./web-app/etc/hosts/)
- Updated .gitignore for workspace-level node_modules
- Updated documentation (README.md, CLAUDE.md, CHANGELOG.md)

## Migration Impact
- Root package.json now manages workspaces
- Build commands delegate to web-app workspace
- All file history preserved via git mv
- Docker build process updated for workspace structure

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-25 12:13:04 +01:00
982a8f0f88 Update backup retention policy and documentation for clarity 2025-11-26 12:29:16 +01:00
2375c1a193 Consolidate backup storage to single mongo-backup directory
- Unify all backup scripts to use ./mongo-backup/ directory
- Update db-backup--standalone.sh to store volume backups in mongo-backup/
- Update db-backup--swarm.sh to use mongo-backup as default directory
- Update db-restore-from-backup--swarm.sh to look in mongo-backup/
- Update all header comments and documentation to reflect new location
- Update .gitignore to ignore both backups/ and mongo-backup/
- Update README.md with consolidated backup directory paths

This simplifies backup management by having all backup types in one location.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-26 11:20:29 +01:00
4454ea3b7e Enhance backup system with comprehensive scripts and documentation
Database Backup Scripts:
- Add db-dump--standalone.sh for online database dumps (no downtime)
- Add db-restore-from-dump--standalone.sh for restoring from dumps
- Rename backup scripts with double-dash convention for clarity
- Add comprehensive header comments to all backup/restore scripts
- Document online vs offline, standalone vs swarm deployment types
- Add KEEP variable default (7) to dump script for rotation

Docker Configuration:
- Add mongo-backup volume mount to docker-compose-standalone.yaml
- Add mongo-backup volume mount to docker-compose-debug.yml
- Add container names to debug compose for consistency with standalone

Documentation:
- Add comprehensive Database Backup & Restore section to README.md
- Document all backup scripts with usage examples
- Document automated cron schedule (04:00 daily)
- Sunday: Full volume backup (KEEP=2, offline)
- Monday-Saturday: Database dumps (KEEP=7, online)
- Document backup directories and log file locations

Git Configuration:
- Add mongo-backup/ to .gitignore
- Fix missing newline at end of .gitignore

File Cleanup:
- Remove db-scheduled-backup.sh (superseded by cron jobs)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-26 11:11:17 +01:00
691715c8b4 ažuriran readme 2025-07-23 10:55:16 +02:00
2bd1402ed0 dodane build i deploy skripte 2024-03-23 01:42:59 +01:00
3746989f05 readme: added link to video tutorial for localization 2024-02-16 18:05:44 +01:00
b235f883f8 added contact info to the policy page 2024-02-15 17:17:40 +01:00
28d75acbd3 Fix: fixed e-mail address 2024-02-15 16:52:56 +01:00
31e5abe439 added email link to terms page 2024-02-15 16:42:35 +01:00
54bf5669d9 updated readme 2024-02-12 16:18:56 +01:00
9b7e21b268 upadted todo in readme 2024-01-17 16:07:19 +01:00
119d64344f added ToDo u Readme 2024-01-16 17:13:58 +01:00
115338bad2 README: added info about MongoDB and old CPU 2024-01-10 21:50:22 +01:00
7eeebbc96e README: added log messages 2024-01-10 21:36:33 +01:00
c093fe513f updated README 2024-01-10 21:06:12 +01:00
1275e38c19 README: expalining HOSTNAME issue 2024-01-10 21:03:28 +01:00
b4d2273777 updated README 2024-01-10 16:09:04 +01:00
0b317f1565 added port to deploy command 2024-01-10 16:08:11 +01:00
3e56ea3ae6 finished docker build & deploy 2024-01-10 13:27:25 +01:00
77fefe6868 uodated README 2024-01-10 10:01:17 +01:00
bdf81a3c5b defined compose file for deploy 2024-01-10 09:58:59 +01:00
53a266df44 fixed fetching of available years 2024-01-09 16:28:12 +01:00
6a6a3976a5 Updated readme 2024-01-09 10:52:13 +01:00
8a90c58417 multi-user support 2024-01-08 16:32:08 +01:00
adae452399 session.user extended with id prop 2024-01-08 15:50:03 +01:00
cd9060c97e refactoring: simplifying file names 2024-01-08 15:24:26 +01:00
8367606493 added config for google auth 2024-01-07 13:08:29 +01:00
15b164ce3c updated ToDo at Readme 2024-01-06 11:01:22 +01:00
52d4c35c2e implemented login 2024-01-06 10:50:27 +01:00
60a89b88ac updating readme 2024-01-05 16:41:27 +01:00
d2cdfeedae updated readme 2024-01-05 16:39:23 +01:00
b653ce40bc kreirane komponente 2024-01-04 10:30:43 +01:00
c0b7458bf7 initial import 2023-12-27 15:45:49 +01:00