Replies: 2 comments
-
|
We decided to go as much vanilla / html / htmx as possible and avoid the npm ecosystem so closing this |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
A 404/500 is still a successful HTTP request, so you must const res = await fetch(url) if (!res.ok) { const data = await res.json() |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Core BLT frontend Migration to BLT Cloudflare from Django to Next.js/TypeScript
INTRODUCTION
The OWASP Bug Logging Tool (BLT) is a critical platform for security researchers to report, track, and manage vulnerability discoveries across organizations. This idea proposes a comprehensive migration of the BLT platform from its current Django-based monolithic architecture to a modern, edge-optimized Next.js/TypeScript stack deployed on Cloudflare Pages. The migration will transform Django template-based pages into React components while maintaining full feature parity with the existing Django REST API backend. With the exponential growth in edge computing and the need for zero-latency global access to security vulnerability data, this migration positions BLT to serve a worldwide community of security researchers with instant page loads, improved SEO, and enhanced developer experience through strict TypeScript type safety.
OBJECTIVE
Primary Goal
Migrate the complete OWASP BLT platform to Next.js 15/TypeScript/Cloudflare Pages while achieving 100% feature parity, zero data loss, sub-200ms global page load times, comprehensive test coverage, and production-grade error handling and accessibility compliance.
Specific Objectives
Architecture Migration:
Performance Optimization & Monitoring:
Developer Experience & Maintainability:
Feature Parity with Enhanced Functionality:
PROJECT TIMELINE(~350hrs)
PHASE 1: Architecture & Foundation (Weeks 1-3, ~40 hrs)
Week 1: Comprehensive Analysis & Setup (~10 hrs)
Codebase Analysis, Documentation & Setup
Documentation & Knowledge Transfer
Week 2: Type System & Core Infrastructure (~10 hrs)
Comprehensive TypeScript Type Definitions
API Client & Interceptors
Authentication & Authorization Layer
Week 3: Shared Components & Hooks Infrastructure (~20 hrs)
Base UI Component Library
Custom Hooks Development
Error Handling & Logging
PHASE 2: High-Priority Page Migration (Weeks 4-6, ~100 hrs)
Week 4: User & Authentication Pages (~36 hrs)
User Profile Pages
/profile/[username]with complex stat calculationsAuthentication Pages
Account Settings Pages
Week 5: Issue Management & Reporting (~32 hrs)
Issue Listing & Filtering
Issue Detail & Interaction
Issue Creation & Editing
Week 6: Organization & User Dashboard (~32 hrs)
Organization Pages
User Dashboard & Profile
PHASE 3: Medium-Priority Pages & Advanced Features (Weeks 7-9, ~70 hrs)
Week 7: Blog, Search & Discovery (~12 hrs)
Blog System
Global Search System
Week 8: Leaderboard & Gamification (~28 hrs)
Leaderboard System
Badges & Achievement System
Analytics & Reporting
Week 9: Advanced Features & Tools (~30 hrs)
Time Tracking System
Referral & Affiliate System
User Profile Enhancements
Community & Forum
Staking & Finance System
PHASE 4: Low-Priority Pages & Refinement (Weeks 10, ~50 hrs)
Week 10: Admin Tools & Moderation (~25 hrs)
Admin Dashboard
Moderation & Content Control
Week 10: Static Pages, SEO & Legal (~25 hrs)
Static & Legal Pages
SEO & Social Integration
PHASE 5: Comprehensive Testing (Weeks 11 ~80 hrs)
Week 11: Unit & Integration Testing (~80 hours)
Unit Test Coverage
Integration Testing
PHASE 6: Performance Optimization (Weeks 12 ~40 hrs)
Week 12: Performance Optimization (~40 hrs)
Bundle & Code Analysis
Rendering & Runtime Performance
Network & Caching Optimization
TIMELINE OVERVIEW BY CATEGORY
ARCHITECTURE MIGRATION
CONCLUSION
This migration strategically positions OWASP BLT as a modern, high-performance platform for global security research. By combining Next.js, TypeScript, and Cloudflare's edge network with the existing Django backend, we'll deliver superior user experience and performance. The phased approach with live initial pages validates the architecture, establishing BLT as a reference implementation that will attract a new generation of contributors.
Beta Was this translation helpful? Give feedback.
All reactions