This website requires JavaScript.
Explore
Help
Sign in
vignesh
/
trypost
Watch
1
Star
0
Fork
You've already forked trypost
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
5693ac4fa2
trypost
/
tests
/
Unit
/
ExampleTest.php
6 lines
81 B
PHP
Raw
Normal View
History
Unescape
Escape
chore: first commit
2026-01-15 01:13:44 +00:00
<
?
php
test
(
'that true is true'
,
function
()
{
expect
(
true
)
->
toBeTrue
();
refactor: restructure to Actions, subdomain routes (app/api), API tokens - Extract business logic from controllers into Action classes: Post/, Workspace/, Hashtag/, Label/, Invite/, ApiKey/ - Create subdomain routing: app.trypost.test (Inertia dashboard), api.trypost.test (REST API with token auth) - Add ApiToken model with tp_ prefix, token_lookup/hash auth - Add AuthenticateApiToken middleware for API authentication - Create Api controllers with JSON Resources for all entities - Create App controllers that use Actions + Inertia responses - Organize Form Requests into Api/ and App/ directories - Add api_tokens migration - Update all route names with app. prefix - Update all tests to use new route names (684 passing)
2026-03-29 22:24:28 +00:00
});
Reference in a new issue
Copy permalink