EN

Platform UI is currently English-only. Other languages here track your preference for future translations.

Go to Home

GOSPE Coordination

A full-stack web application for coordination and receipt management, running on Cloudflare's edge infrastructure.

Launch Application

Overview

GOSPE Coordination is a Next.js application that leverages Cloudflare Workers for serverless computing, D1 for database operations, and R2 for storage. The app includes receipt processing capabilities and ChatGPT integration for enhanced functionality.

Key Features

Receipt Management

API endpoints for receipt processing and storage, enabling seamless handling of receipt data across the application.

Database Integration

Uses Drizzle ORM with Cloudflare D1 for data persistence, providing a robust and type-safe database layer.

Image Optimization

Built-in image processing using Cloudflare Images, automatically optimizing and transforming images at the edge.

Authentication

ChatGPT-based authentication system that provides secure access control for all application features.

Health Monitoring

Health check endpoints for system monitoring, ensuring the application remains reliable and responsive.

Tech Stack

React 19 Next.js 16 TailwindCSS Cloudflare Workers TypeScript Cloudflare D1 Drizzle ORM Cloudflare R2 Vite vinext Geist Geist Mono

Infrastructure

Built for Cloudflare's edge computing platform with:

  • Workers: Serverless compute at the edge
  • D1: Distributed SQLite database
  • R2: Object storage for assets
  • Images: Image optimization service

Requires Node.js >=22.13.0 for development.

API Endpoints

  • /api/health — Health check endpoint
  • /api/receipts — Receipt management
  • /api/app — Main application API

Development

# Install dependencies
npm run install:ci

# Start development server
npm run dev

# Build for production
npm run build

# Run tests
npm test

Database

The application uses Drizzle ORM with Cloudflare D1. Database migrations are managed through the drizzle/ directory with versioned SQL files.

# Generate database migrations
npm run db:generate

Reconnecting to the server...

Reconnecting in sec.

Failed to reconnect.
The page will reload automatically.

Session paused by the server.

Failed to resume the session.
Reloading the page...