Skip to content

Golangcodes/nextdeployfrontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

95 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

NextDeploy Frontend

A production-ready UI that validates NextDeploy while serving real users

Production Status Built with Next.js Self-Deployed


Overview

NextDeploy Frontend is more than a dashboardβ€”it's a living stress test for our deployment platform. Every page load, API call, and user interaction validates NextDeploy's capabilities in real-world conditions.

Why This Approach?

  • πŸ” Real-world validation - Find edge cases before users do
  • πŸ“Š Production observability - Monitor actual deployment behavior
  • πŸš€ Dogfooding excellence - We deploy with what we build
  • πŸ“š Living documentation - UI that reflects current platform state

Quick Start

Prerequisites

  • Node.js 18+
  • pnpm (recommended)

Installation

# Clone and install
git clone https://github.com/aynaash/nextdeploy-frontend
cd nextdeploy-frontend
pnpm install

# Start development server
pnpm dev

Deploy with NextDeploy

# Install NextDeploy CLI
curl -fsSL https://nextdeploy.one/install.sh | sh

# Deploy this frontend
nextdeploy build && nextdeploy ship

Architecture

Tech Stack

Component Technology Purpose Status
Framework Next.js 14 (App Router) SSR/ISR with React Server Components 🟒 Stable
Styling Tailwind CSS Utility-first responsive design 🟒 Stable
Database PostgreSQL + Drizzle Optional persistent state 🟑 Optional
Real-time WebSockets Live deployment logs 🟑 Improving
Auth Custom RBAC Route protection & permissions 🟒 Stable

System Design

graph TB
    A[NextDeploy Frontend] --> B[Dashboard UI]
    A --> C[Documentation]
    A --> D[API Layer]
    
    B --> E[Deployment Management]
    B --> F[Environment Config]
    B --> G[Real-time Logs]
    
    D --> H[NextDeploy Backend]
    D --> I[WebSocket Server]
    D --> J[Auth Service]
    
    style A fill:#e1f5fe
    style H fill:#f3e5f5
Loading

Key Features

πŸŽ›οΈ Dashboard

  • Deployment Pipeline - Visual deployment status and controls
  • Environment Management - Configuration for dev/staging/production
  • Real-time Monitoring - Live logs and system health
  • Team Collaboration - Multi-user access with role-based permissions

πŸ“– Documentation Hub

  • Interactive Examples - Runnable code samples
  • API Reference - Auto-generated from OpenAPI specs
  • Best Practices - Battle-tested deployment patterns
  • Troubleshooting - Common issues and solutions

πŸ§ͺ Platform Validation

Every component tests critical Next.js features in production:

  • SSR/ISR Pages β†’ Rendering pipeline stress tests
  • API Routes β†’ Backend connectivity validation
  • Middleware β†’ Auth and edge logic verification
  • WebSocket Connections β†’ Real-time communication stability

Project Structure

nextdeploy-frontend/
β”œβ”€β”€ app/                    # Next.js App Router pages
β”‚   β”œβ”€β”€ dashboard/         # Protected dashboard routes
β”‚   β”œβ”€β”€ docs/              # Documentation pages
β”‚   └── api/               # API route handlers
β”œβ”€β”€ components/            # Reusable UI components
β”‚   β”œβ”€β”€ ui/                # Base components (buttons, inputs)
β”‚   β”œβ”€β”€ dashboard/         # Dashboard-specific components
β”‚   └── docs/              # Documentation components  
β”œβ”€β”€ lib/                   # Utilities and configurations
β”œβ”€β”€ hooks/                 # Custom React hooks
└── types/                 # TypeScript definitions

Development

Core Routes

Route Purpose Auth Required
/ Landing page with platform overview No
/dashboard Main deployment interface Yes
/docs Public documentation No
/api/deployments Deployment management API Yes
/api/logs Real-time log streaming Yes

Local Development

# Start with hot reload
pnpm dev

# Run with production build locally
pnpm build && pnpm start

# Run tests
pnpm test

# Type checking
pnpm type-check

Environment Variables

# Required
NEXTDEPLOY_API_URL=https://api.nextdeploy.one
NEXTAUTH_SECRET=your-secret-key

# Optional  
DATABASE_URL=postgresql://...
WEBSOCKET_URL=wss://ws.nextdeploy.one

Installation Options

NextDeploy CLI

Choose your platform:

Linux

curl -fsSL https://nextdeploy.one/linux-cli.sh | sh

macOS

curl -fsSL https://nextdeploy.one/mac-cli.sh | sh

Windows (PowerShell)

# Run as Administrator
iwr -useb https://nextdeploy.one/windows.ps1 | iex

NextDeploy Daemon (Linux/macOS)

curl -fsSL https://nextdeploy.one/nextdeployd.sh | sh

πŸ’‘ Pro tip: Use versioned installs (/install/v0.1.0.sh) for reproducible environments


Contributing

We welcome contributions that improve platform observability and user experience.

Good First Issues

  • Enhance error boundary coverage
  • Add deployment health indicators
  • Improve real-time status components
  • Create additional platform validation tests

Contribution Guidelines

  1. Fork & Branch - Create feature branches from main
  2. Test Production Scenarios - Ensure changes work when deployed
  3. Maintain Simplicity - Prefer clear code over clever abstractions
  4. Add Observability - Components should reveal system behavior

Pull Request Checklist

  • Does this improve system observability?
  • Is the code maintainable at scale?
  • Will failures be clear and actionable?
  • Have you tested the deployed version?

Roadmap

gantt
    title Development Roadmap
    dateFormat  YYYY-MM-DD
    section Core Features
    Edge Function Testing       :active, 2024-03-01, 30d
    Advanced Team Management    :2024-04-01, 21d
    Multi-region Deployments    :2024-04-15, 28d
    
    section Observability  
    Deployment Health Scores    :2024-05-01, 14d
    Performance Monitoring      :2024-05-15, 21d
    Cost Analytics Dashboard    :2024-06-01, 14d
Loading

Upcoming Features

  • 🌐 Edge Function Testing - Validate serverless functions across regions
  • πŸ‘₯ Team Management 2.0 - Advanced RBAC and collaboration tools
  • πŸ“Š Health Scoring - Automated deployment quality assessment
  • πŸ’° Cost Monitoring - Resource usage tracking and optimization

Resources

Documentation

Community


Philosophy

"The interface is the system"

We believe frontend infrastructure isn't just about pixelsβ€”it's about creating interfaces that make complex distributed systems understandable, reliable, and delightful to use.

This project embodies our commitment to:

  • Production-first development - If it doesn't work deployed, it doesn't work
  • Observability through UI - Every component reveals system state
  • Simplicity over cleverness - Clear solutions that scale with teams
  • Continuous validation - Always testing our own platform

Ready to deploy?

Get Started β€’ View Dashboard β€’ Join Community

About

This is the frontend for NextDeploy

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors