Routes
Key route groups in apps/web/src/app:
/dashboard/posts,/posts/[id]/company-posts,/company-posts/[id]/admin/settings(auth)/login,(auth)/signup/api/linkedin-webhook(Next route)- Forwards
POSTpayload to n8n workflow (https://n8n.variantai.io/webhook/participant-rag) usingundiciAgent with permissive TLS for self-signed certs. - See
apps/web/src/app/api/linkedin-webhook/route.js.
- Forwards
Middleware
apps/web/middleware.jsenforces redirects:- Auth routes:
/login,/signupredirect to/when authenticated. - Protected routes:
/,/posts,/company-posts,/settings,/adminredirect to/loginwhen unauthenticated.
- Auth routes: