Commit graph

18 commits

Author SHA1 Message Date
5081729b99
fix slash 2026-05-09 23:08:20 +03:00
236db20789
add env with api base 2026-05-09 23:05:06 +03:00
d40efeec70
add cypress admin actions spec 2026-05-06 23:26:55 +03:00
db910c9431
add cypress post page spec 2026-05-06 23:26:37 +03:00
6f160ddd4e
add cypress new-post spec 2026-05-06 23:26:14 +03:00
66ad7b1a0f
add cypress profile page spec 2026-05-06 23:26:00 +03:00
84ee24c2ee
add cypress home page spec 2026-05-06 23:25:44 +03:00
07f9746316
add cypress guest-routes spec 2026-05-06 23:25:26 +03:00
910bc98197
add cypress confirm-email spec 2026-05-06 23:25:14 +03:00
9db7920f80
add cypress login spec 2026-05-06 23:25:01 +03:00
75ada812bc
add cypress signup spec 2026-05-06 23:24:50 +03:00
178193bfd8
add cypress api-driven seeding helpers
cy.signupViaApi, cy.fetchLatestConfirmToken (parses the mailpit
inbox), cy.confirmViaApi, cy.loginViaApi, cy.logoutViaApi, plus
composed seedConfirmedUser/seedAdmin/seedPostAs/seedFeaturedPost
so each spec can build its own fixture without going through
the UI for setup.
2026-05-06 23:24:26 +03:00
7f744410bf
wire mailpit and db:promote cypress tasks 2026-05-06 23:23:13 +03:00
6ffa499c79
implement profile, post, and new-post views
ProfilePage shows a user's posts and exposes a New Post button
when the logged-in user is the owner; admins see a Promote
control. PostPage shows the post, its comments, and forms for
adding/deleting comments. Post-author and admin can delete
posts; admins can feature or unfeature any post into one of
the two slots from this view.
2026-05-06 22:52:32 +03:00
1997870da5
implement home page with featured posts, recent posts, and user search 2026-05-06 22:50:55 +03:00
ff071c71ca
implement signup, confirm-email, login, check-email views 2026-05-06 22:49:32 +03:00
ae7db07ec3
add api client and auth store
apiFetch wrapper sends JSON with credentials, parses error
shapes off the backend's {error: '...'} responses, and exposes
typed helpers (apiGet, apiPost, apiDelete). Auth store now
drives the real /signup -> /confirm-email -> /login -> /me ->
/logout flow. Vite dev proxy points /api at the backend on
:8000.
2026-05-06 22:48:17 +03:00
568dc4aabe
scaffold blog_portal vue 3 + pinia + cypress frontend
Mirrors youngstartup/frontend/startups_portal scaffolding:
Vite, Vue 3 (composition API + script setup), TypeScript strict,
Pinia, Vue Router 5, oxlint + eslint + oxfmt, and Cypress with
db:reset / db:seed tasks. Views and the auth store are stubs
filled in by the next branches; routes and the header chrome
are wired so the build passes.
2026-05-06 22:47:09 +03:00