- Increase Neon connection timeout from 5s to 10s for cold starts - Increase retry delays from [100,300]ms to [500,1500]ms - Preserve query params in middleware callbackUrl redirects - Add 60s TTL cache to AI provider config (was querying DB every call) - Add 5-minute TTL to user columns cache (was never invalidating) - Update CODE_AUDIT.md with all recent fixes and test coverage Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
RevampIT - Sustainable Technology for Everyone
Giving Technology a Second Life Through Sustainable IT Practices
🌟 About RevampIT
RevampIT is a Swiss non-profit organization dedicated to enabling free exchange of technology between individuals and groups, promoting open-source hardware and software as the ideal form of human collaboration.
Our Mission
Primary Goal: Enable free exchange of technology on a nonprofit basis, promoting open-source solutions that can compete fairly with proprietary software.
Core Activities
- ♻️ Technology Redistribution: Redistribute computers, hardware, software, compute resources, and memory resources (servers) on a nonprofit, free basis
- 🔓 Open Source Advocacy: Enable open-source hardware and software to compete with proprietary solutions, demonstrating that decentralized development can exceed centralized corporations
- 🌍 Environmental Impact Measurement: Track CO2 impact of all electricity use (toasters, TVs, computers, AI, robotics, food production) to enable true individual environmental awareness
- 💱 Subscription Exchange: Facilitate community funding of subscriptions when needed, while maintaining open-source alternatives until maturity
- 🏫 Education: Provide workshops on Linux, open-source software, hardware repair, and sustainable technology practices
- 🤝 Community: Build a network of volunteers, technical experts, and partners across national boundaries
- 🌱 Sustainability: Promote responsible technology consumption, circular economy, and environmental consciousness
Technology We Redistribute
- Old computers and computer parts
- Old synthesizers and DJ controllers
- Old hardware (computers, peripherals)
- Old software (proprietary software given away for free)
- Compute resources (servers, cloud infrastructure)
- Memory resources (servers, storage)
- Bicycles and furniture (supporting sustainable living)
Vision
As development becomes more decentralized and can be done without big teams, open source will ultimately exceed the capacities of big, centralized corporations. The most beautiful way for this to happen is through technological collaboration and exchange beyond national boundaries, making it easy and simple for individuals and groups to share technology, knowledge, and resources.
See Nonprofit Legal Compliance Documentation for full mission statement and legal requirements.
🚀 Technology Stack
Frontend
- Next.js 13+ - React framework with server-side rendering
- TypeScript - Type-safe JavaScript
- Tailwind CSS - Utility-first CSS framework
- React Hook Form - Forms with validation
Backend & CMS
- Node.js - JavaScript runtime
- Express.js - Web application framework
- PostgreSQL - Relational database
- JWT - Authentication and authorization
- Custom CMS - Content management for non-technical users
Infrastructure
- Docker - Containerization
- Vercel - Frontend hosting and deployment
- GitHub Actions - CI/CD workflows
🛠️ Quick Start
Prerequisites
- Node.js 18+
- PostgreSQL 13+
- Docker (optional)
Installation
# Clone the repository
git clone https://github.com/g-but/revampit.git
cd revampit
# Install dependencies
npm install
# Set up environment variables
cp environment.example .env.local
# Edit .env.local with your configuration
# 🚀 One-command setup (starts everything!)
npm run d
# Setup admin users
npm run setup-admins
Access Points
- Frontend: http://localhost:3000
- Unified Admin Dashboard: http://localhost:3000/admin
- Medusa Shop Admin: http://localhost:9000/app
- AI CMS Editor: http://localhost:3000/ai-cms
- Shop Frontend: http://localhost:3000/shop/medusa
📁 Project Structure
revampit/
├── src/ # Frontend source code
│ ├── app/ # Next.js app directory
│ ├── components/ # Reusable UI components
│ └── lib/ # Utilities and configurations
├── cms-api/ # Custom CMS backend
│ ├── src/ # API source code
│ ├── migrations/ # Database migrations
│ └── uploads/ # File storage
├── public/ # Static assets
├── docs/ # Documentation
├── tests/ # Test files
└── docker-compose.yml # Development services
🎯 Features
Public Website
- 📱 Responsive Design - Mobile-first approach
- 🔍 SEO Optimized - Server-side rendering and meta tags
- 🌐 Multilingual - German and English support
- ⚡ Performance - Optimized images and lazy loading
- ♿ Accessibility - WCAG 2.1 compliant
Content Management
- 🔐 Secure Authentication - JWT-based admin access
- ✏️ Rich Text Editor - WYSIWYG content editing
- 📄 Page Management - Create and edit static pages
- 👥 User Management - Role-based access control
- 🖼️ Media Management - Image upload and optimization
Services
- 🛠️ Hardware Services - Computer repair and refurbishment
- 🐧 Linux Support - Open-source software consulting
- 🏢 Enterprise Solutions - Custom IT solutions for businesses
- 📚 Workshops - Educational programs and training
- 🌐 Web Development - Modern web solutions
🤝 Contributing
We welcome contributions from developers, designers, translators, and anyone passionate about sustainable technology!
How to Contribute
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
Areas for Contribution
- 💻 Frontend Development - React/Next.js components and pages
- 🔧 Backend Development - API endpoints and database design
- 🎨 UI/UX Design - Interface design and user experience
- 📝 Documentation - Technical writing and guides
- 🌐 Translations - German ↔ English localization
- 🧪 Testing - Unit tests, integration tests, and E2E tests
- 📊 Analytics - Performance monitoring and optimization
Development Guidelines
- Follow TypeScript best practices
- Write meaningful commit messages
- Add tests for new features
- Ensure accessibility standards
- Maintain responsive design
- Update documentation
📚 Documentation
- Installation Guide
- System Integration
- Migration Guide
- Deployment Guide
- CMS Solution
- Contributing Guidelines
🗺️ Roadmap
Current Focus
- ✅ Custom CMS Implementation
- ✅ Admin Interface
- ✅ Content Management
- ⏳ User Authentication
- ⏳ Media Management
Upcoming Features
- 📝 Blog System - News and updates
- 🛒 E-commerce Integration - Online shop for refurbished devices
- 📅 Event Management - Workshop scheduling and registration
- 📊 Analytics Dashboard - Website and service metrics
- 🔔 Notification System - Email newsletters and alerts
- 🌍 Multi-language Support - Expanded localization
📞 Support & Community
Get Help
- 📧 Email: info@revamp-it.ch
- 🐛 Issues: GitHub Issues
- 💬 Discussions: GitHub Discussions
Visit Us
RevampIT Headquarters
Badenerstrasse 816
8048 Zürich, Switzerland
Office Hours
Monday - Friday: 13:00 - 17:00
Workshops: By appointment
📜 License
This project is licensed under the MIT License - see the LICENSE file for details.
🙏 Acknowledgments
- Thanks to all our volunteers and contributors
- Open Source Community for the amazing tools and libraries
- Swiss Non-Profit Sector for supporting our mission
- Local Community in Zürich for their continuous support
Made with ❤️ by the RevampIT community
🌐 Website • 📧 Contact • 𝕏 X • 💼 LinkedIn
