Releases: localstore-platform/api
Releases · localstore-platform/api
v1.1.0 - SEO-friendly Slug Routing
🎉 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ở itemsGET /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
slugcolumn tocategoriestable - Added
slugcolumn tomenu_itemstable - Migration includes Vietnamese accent transliteration (Phở → pho)
Dependencies
- Updated
@localstore/contractsto 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
🚀 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.0API 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 |