Skip to content

Releases: localstore-platform/api

v1.1.0 - SEO-friendly Slug Routing

11 Dec 18:24
d043308

Choose a tag to compare

🎉 What's New

SEO-friendly URL Structure

Clean, readable URLs using slugs for tenants, categories, and menu items:

  • GET /menu/pho-hanoi-24/pho → All phở items
  • GET /menu/pho-hanoi-24/pho/pho-bo-tai → Phở bò tái details

New Endpoints

Method Endpoint Description
GET /menu/:tenantSlug/:categorySlug Items in a category
GET /menu/:tenantSlug/:categorySlug/:itemSlug Single item details

Database Changes

  • Added slug column to categories table
  • Added slug column to menu_items table
  • Migration includes Vietnamese accent transliteration (Phở → pho)

Dependencies

  • Updated @localstore/contracts to v0.2.2

Testing

  • ✅ 20 unit tests passing
  • ✅ 30 API assertions passing
  • ✅ Lint clean

Full Changelog: v1.0.0...v1.1.0

v1.0.0 - Initial API Release

06 Dec 17:47

Choose a tag to compare

🚀 LocalStore API v1.0.0

First production release of the LocalStore Platform API.

Features

  • Menu API - Public endpoints for menu browsing (GET /api/v1/menu/:tenantId)
  • Health Checks - Liveness and readiness probes (/api/v1/health)
  • Multi-tenant Architecture - TypeORM with tenant isolation
  • Shared Types - Integration with @localstore/contracts@0.2.0
  • Docker Support - Development and production compose files
  • Database - PostgreSQL 17 with migrations
  • Cache - Redis 8 support
  • Documentation - Swagger UI at /api/docs
  • Localization - Vietnamese-first (vi-VN)

Docker Image

docker pull ghcr.io/localstore-platform/api:v1.0.0

API Endpoints

Method Endpoint Description
GET /api/v1/health Health check
GET /api/v1/health/ready Readiness check
GET /api/v1/menu/:tenantId Get full menu
GET /api/v1/menu/:tenantId/categories Get categories
GET /api/v1/menu/:tenantId/items/:itemId Get item details