Go to file
Matt c84442433f
Build And Push Image / docker (push) Successful in 2m55s Details
Refactor password reset to use dedicated Keycloak admin client
- Add Keycloak admin credentials configuration to environment variables
- Extract Keycloak admin operations into reusable utility module
- Refactor forgot-password endpoint to use new admin client utility
- Add documentation for Keycloak custom login implementation
- Add password reset fix summary documentation

This improves code organization by separating admin operations from
business logic and provides proper admin credentials for Keycloak
API operations instead of using regular client credentials.
2025-08-07 17:50:09 +02:00
.clinerules Second Commit 2025-08-06 13:56:58 +02:00
.gitea/workflows refactor: keep workflow simple 2025-08-06 19:11:51 +03:00
Implementation_Plan_Initial Second Commit 2025-08-06 13:56:58 +02:00
components feat: enhance mobile compatibility and debugging across authentication and system metrics 2025-08-07 16:08:39 +02:00
composables Fix redirect loops and SSR hydration issues in auth flow 2025-08-07 17:21:18 +02:00
layouts Refactor authentication system with tier-based access control 2025-08-07 12:28:41 +02:00
middleware Simplify auth system by removing throttling and mobile workarounds 2025-08-07 17:12:05 +02:00
pages Fix redirect loops and SSR hydration issues in auth flow 2025-08-07 17:21:18 +02:00
plugins feat: add plugin to unregister existing service workers on client 2025-08-07 13:07:51 +02:00
public Add PWA support with install banner and app icons 2025-08-07 15:46:17 +02:00
scripts Add PWA support with install banner and app icons 2025-08-07 15:46:17 +02:00
server Refactor password reset to use dedicated Keycloak admin client 2025-08-07 17:50:09 +02:00
utils Refactor password reset to use dedicated Keycloak admin client 2025-08-07 17:50:09 +02:00
.dockerignore Initialize Nuxt.js project with Docker deployment setup 2025-08-06 14:31:16 +02:00
.env.example Refactor password reset to use dedicated Keycloak admin client 2025-08-07 17:50:09 +02:00
.gitignore Clean up authentication troubleshooting artifacts 2025-08-07 15:14:02 +02:00
COMPREHENSIVE_FIX_SUMMARY.md feat: enhance mobile compatibility and debugging across authentication and system metrics 2025-08-07 16:08:39 +02:00
DOCKER_DEPLOYMENT_GUIDE.md chore: update Docker deployment guide and configuration 2025-08-07 01:32:20 +02:00
Dockerfile feat: add debug entrypoint script and enhance health check logging 2025-08-07 02:56:53 +02:00
FINAL_LOGIN_SOLUTION_CLEAN.md Simplify auth system by removing throttling and mobile workarounds 2025-08-07 17:12:05 +02:00
KEYCLOAK_CUSTOM_LOGIN_IMPLEMENTATION_GUIDE.md Refactor password reset to use dedicated Keycloak admin client 2025-08-07 17:50:09 +02:00
LOGIN_LOOP_FIX_FINAL.md Fix auth throttling causing login loops by adding forced session checks 2025-08-07 17:01:01 +02:00
PASSWORD_RESET_FIX_SUMMARY.md Refactor password reset to use dedicated Keycloak admin client 2025-08-07 17:50:09 +02:00
README.md Initialize Nuxt.js project with Docker deployment setup 2025-08-06 14:31:16 +02:00
REDIRECT_LOOP_SOLUTION_FINAL.md Fix redirect loops and SSR hydration issues in auth flow 2025-08-07 17:21:18 +02:00
app.vue Initialize Nuxt.js project with Docker deployment setup 2025-08-06 14:31:16 +02:00
docker-compose.yml chore: update Docker deployment guide and configuration 2025-08-07 01:32:20 +02:00
docker-entrypoint-debug.sh feat: add debug entrypoint script and enhance health check logging 2025-08-07 02:56:53 +02:00
docker-entrypoint.sh Initialize Nuxt.js project with Docker deployment setup 2025-08-06 14:31:16 +02:00
error.vue Refactor authentication system with tier-based access control 2025-08-07 12:28:41 +02:00
nginx-portal.conf Fix login authentication flow and improve proxy configuration 2025-08-07 12:55:15 +02:00
nuxt.config.ts Refactor password reset to use dedicated Keycloak admin client 2025-08-07 17:50:09 +02:00
package-lock.json Add system monitoring with real-time metrics to admin dashboard 2025-08-07 15:51:16 +02:00
package.json Add system monitoring with real-time metrics to admin dashboard 2025-08-07 15:51:16 +02:00
tsconfig.json Initialize Nuxt.js project with Docker deployment setup 2025-08-06 14:31:16 +02:00

README.md

MonacoUSA Portal Foundation

This folder contains the complete foundation and implementation guide for creating the MonacoUSA Portal - a modern, responsive web portal built with the same proven tech stack as the Port Nimara client portal.

📁 Contents

1. MONACOUSA_PORTAL_IMPLEMENTATION.md

Complete step-by-step implementation guide containing:

  • Full project setup instructions
  • All code templates and configurations
  • Keycloak authentication implementation
  • NocoDB database integration
  • MinIO file storage setup
  • Responsive dashboard with Vuetify 3
  • PWA configuration
  • Production deployment guide
  • Testing and verification steps

2. CLINE_WORKSPACE_RULES.md

Cline workspace configuration file containing:

  • 🔧 Project overview and tech stack details
  • 🔧 Development guidelines and coding standards
  • 🔧 Environment configuration requirements
  • 🔧 Key features and capabilities
  • 🔧 Extension guidelines for adding new tools
  • 🔧 Troubleshooting and best practices
  • 🔧 Support resources and documentation

3. DOCKER_DEPLOYMENT_GUIDE.md

Complete Docker and CI/CD deployment guide containing:

  • 🐳 Multi-stage Docker build configuration
  • 🔄 Gitea Actions CI/CD pipeline setup
  • 📁 Volume management and persistent data
  • 🔍 Health checks and monitoring
  • 🛠️ Troubleshooting and best practices
  • 🔐 Security considerations and optimization

🚀 Quick Start

  1. Give the implementation guide to another Claude instance:

    • Copy the contents of MONACOUSA_PORTAL_IMPLEMENTATION.md
    • Provide it to Claude with instructions to follow the guide step-by-step
  2. Set up Cline workspace rules:

    • Copy the contents of CLINE_WORKSPACE_RULES.md
    • Add it to your Cline workspace rules for the new project

🎯 Project Specifications

  • Name: monacousa-portal
  • Domain: monacousa.org (configurable)
  • Colors: #a31515 (MonacoUSA red) primary, #ffffff (white) secondary
  • Tech Stack: Nuxt 3, Vue 3, Vuetify 3, Keycloak, NocoDB, MinIO
  • Features: PWA, Mobile-responsive, Dashboard layout, File storage

📋 What You'll Get

Following this implementation guide will create a complete portal foundation with:

Authentication System

  • Keycloak OAuth2/OIDC integration
  • Secure session management
  • Role-based access control
  • Login/logout functionality

Responsive Dashboard

  • Mobile-first design
  • Collapsible sidebar navigation
  • User profile display
  • Role-based menu items

File Management

  • MinIO S3-compatible storage
  • Upload/download functionality
  • File type validation
  • Secure access control

Database Integration

  • NocoDB API-first database
  • CRUD operations
  • Dynamic table access
  • Type-safe operations

PWA Features

  • Offline support
  • Install prompts
  • Service worker
  • Mobile optimization

Production Ready

  • Health check endpoints
  • Error handling
  • Security best practices
  • Deployment configuration

🛠️ Usage Instructions

For Implementation

  1. Create a new repository for your MonacoUSA Portal
  2. Follow the step-by-step guide in MONACOUSA_PORTAL_IMPLEMENTATION.md
  3. Configure your environment variables
  4. Set up Keycloak, NocoDB, and MinIO services
  5. Test the implementation
  6. Deploy to production

For Development

  1. Use CLINE_WORKSPACE_RULES.md as your Cline workspace rules
  2. Follow the coding standards and guidelines
  3. Extend the portal with your custom tools
  4. Maintain consistency with the established patterns

🎨 Customization

The foundation is designed to be easily customizable:

  • Branding: Update colors, logos, and text
  • Tools: Add new dashboard pages and functionality
  • APIs: Extend with custom server endpoints
  • Database: Add new tables and data structures
  • UI: Customize components and layouts

📞 Support

This foundation is based on the proven Port Nimara client portal architecture and includes:

  • Comprehensive documentation
  • Complete code examples
  • Best practices and patterns
  • Troubleshooting guides
  • Extension guidelines

The implementation guide is self-contained and can be followed by any developer or AI assistant to create the exact foundation you need.


Ready to build your MonacoUSA Portal! 🚀