This is the Laravel backend API for the Talent Gate job board application.
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:
The frontend application will be available at
npm run dev
http://localhost:5173. It is configured to automatically proxy/apirequests to the local backend server (http://localhost:8000).
Note: You can sign in to the application using the seeded test accounts (e.g., admin@talentgate.test / password).