feat: phase 3 website pages on v1 api
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
- [x] Support both `q` and `query` inputs.
|
||||
|
||||
### Phase 3 - Website rebuild
|
||||
- [ ] Build website pages in new app (index, emoji detail, api docs, legal pages).
|
||||
- [x] Build website pages in new app (index, emoji detail, api docs, legal pages).
|
||||
- [ ] Replace scaffold in `dewemoji-site` via new NativePHP output.
|
||||
|
||||
### Phase 4 - Extension integration
|
||||
@@ -57,3 +57,10 @@
|
||||
- Routes are now available at `/v1/*` (no `/api` prefix) for extension compatibility.
|
||||
- License verification is currently environment-driven (`DEWEMOJI_LICENSE_ACCEPT_ALL` / `DEWEMOJI_PRO_KEYS`) as a safe stub before real provider integration.
|
||||
- Test coverage added for `v1` endpoints in `app/tests/Feature/ApiV1EndpointsTest.php`.
|
||||
|
||||
## Implementation notes (Phase 3)
|
||||
|
||||
- Added website routes/pages in Laravel app:
|
||||
- `/`, `/emoji/{slug}`, `/api-docs`, `/pricing`, `/privacy`, `/terms`
|
||||
- Home page now consumes `/v1/categories` and `/v1/emojis` directly.
|
||||
- Added page tests in `app/tests/Feature/SitePagesTest.php`.
|
||||
|
||||
Reference in New Issue
Block a user