About Aalo

A modern web application demonstrating the power of combining Go backend with Next.js frontend in a single binary deployment.

Architecture

Aalo showcases a modern full-stack architecture with Go serving as the backend API and Next.js providing the frontend interface, all packaged into a single executable.

  • Single binary deployment
  • Embedded static assets
  • RESTful API design
  • Modern React patterns

Features

  • High Performance

    Optimized for speed with Go and Next.js

  • Secure Authentication

    JWT-based authentication with cookies

  • Data Management

    CRUD operations with in-memory storage

  • Developer Friendly

    TypeScript, modern tooling, and best practices

Technology Stack

Backend (Go)

  • • Go 1.21+ with Gin web framework
  • • JWT authentication and authorization
  • • CORS and security middleware
  • • RESTful API endpoints
  • • In-memory data storage
  • • Structured logging
  • • Single binary compilation

Frontend (Next.js)

  • • Next.js 14 with App Router
  • • TypeScript for type safety
  • • Tailwind CSS for styling
  • • React hooks for state management
  • • Axios for API communication
  • • Lucide React for icons
  • • Responsive design

Getting Started

This application demonstrates how to build a modern web application with Go and Next.js that can be deployed as a single binary. The frontend is built with Next.js and then embedded into the Go binary using Go's embed functionality.

# Build the application
make build
# Run the single binary
./aalo
# Access at http://localhost:8080