Vue 3 frontend for the Talent Gate job board application. This includes modules for the admin dashboard, employer analytics, payments, notifications, and user profiles.
This application consists of a Laravel backend and a Vue 3 frontend. To run the full application locally, you need to start both servers concurrently.
- Open a terminal and navigate to the
backenddirectory:cd ../backend - Install PHP dependencies via Composer:
composer install
- Create a copy of the environment file:
cp .env.example .env
- Generate the Laravel application key:
php artisan key:generate
- Run database migrations and seeders to initialize the database with sample data:
php artisan migrate --seed
- Start the local development server:
The backend API will be available at
php artisan serve
http://localhost:8000.
-
Open a new terminal and navigate to the
frontenddirectory:cd ../frontend -
Install Node.js dependencies:
npm install
-
Create a copy of the environment file:
cp .env.example .env
-
Start the Vite development server:
npm run dev
The frontend application will be available at
http://localhost:5173. It is configured to automatically proxy/apirequests to the local backend server (http://localhost:8000).Tip: You can set
VITE_USE_MOCKS=truein your.envfor offline UI mocks if the backend is not running.
Once both servers are running, open http://localhost:5173 in your browser. You can sign in using seeded test accounts, such as:
- Admin:
admin@talentgate.test/password
| Route | Role |
|---|---|
/admin/dashboard |
admin |
/admin/users |
admin |
/employer/analytics |
employer |
/payments/checkout?applicationId=501 |
employer |
/payments/history |
employer |
API contract for backend: docs/dev5-api-contract.md
npm run dev— starts the development servernpm run build— performs typecheck and creates a production buildnpm run typecheck— runs TypeScript type checking
VS Code + Vue (Official) (disable Vetur).