Skip to content

Software

Purpose

Software services marketing site plus the freelancer marketplace (public freelancer directory + an authenticated freelancer portal).

Source directory

apps/software-web/src/ (React frontend, including FreelancerMarketplace.tsx, customerSession.ts), worker/ (this app's own Worker code), public/freelancer-portal/.

Framework

React 18 + TypeScript + Vite.

Commands

npm run dev:software       # Vite dev server
npm run build:software     # sync:portal-styles -> tsc -b -> vite build -> tsc -p worker/tsconfig.json

Output

apps/software-web/dist/.

Deployment mechanism

Cloudflare Worker, name akshaya-software, Static Assets + run_worker_first for /freelancer-portal* and /api/freelancer/*. wrangler deploy --config apps/software-web/wrangler.jsonc. Domain: software.akshayagroupglobal.com.

Environment variables

None currently read from import.meta.env in this app's source.

software.akshayagroupglobal.com

Dependencies on shared packages

@akshaya/ui, @akshaya/shared.

  • Its own Worker (/api/freelancer/*, on software.akshayagroupglobal.com itself): auth/login, auth/logout, auth/activate, auth/session, me, me/skills, me/photo, me/invitations.
  • The central API Worker (api.akshayagroupglobal.com): /api/software/freelancers and /api/software/freelancers/public (the public freelancer directory), /api/health.

Troubleshooting

  • Freelancer portal route 404s: same class of issue as Corporate - check run_worker_first patterns in apps/software-web/wrangler.jsonc.
  • Public freelancer listing looks stale: that data comes from the central API Worker (/api/software/freelancers/public), not this app's own Worker - check Cloudflare → D1 / Operations → D1 Operations if the underlying data itself looks wrong, not this app's deploy.