This project combines Laravel as the backend framework with Vue js for the frontend. Follow the instructions below to set up and run the project.
- PHP (>= 8.2)
- Composer
- Node.js (>= 20.x)
- npm (comes with Node.js)
- MySQL or another database of your choice
-
Clone the repository:
git clone https://github.com/imsat/interactive-saas-test.git
-
Install Laravel dependencies:
composer install
-
Install Laravel dependencies:
cp .env.example .env
-
Update the database configuration in the .env file:
DB_CONNECTION=mysql DB_HOST=your_database_host DB_PORT=your_database_port DB_DATABASE=your_database_name DB_USERNAME=your_database_username DB_PASSWORD=your_database_password
-
Generate the application key:
php artisan key:generate
-
Run database migrations and seed data:
php artisan migrate --seed
-
Download node modules and start dev environment :
npm i && npm run dev
- Run the Laravel development server:
php artisan serve
- Access the application in your browser:
Open your browser and navigate to http://127.0.0.1:8000 or desired port show in your terminal.
- The login page for the application will be shown. Enter the application with the credentials listed below.
- Email
admin@mail.com
- Password
123456