Weather information for a set of users.
- Docker
- Laravel
- Vue JS
- MySQL
- Navigate to
/api
folder - Ensure version docker installed is active on host
- Copy .env.example:
cp .env.example .env
- Start docker containers
docker compose up
(add-d
to run detached) - Connect to container to run commands:
docker exec -it fullstack-challenge-app-1 bash
- Make sure you are in the
/var/www/html
path - Install php dependencies:
composer install
- Setup app key:
php artisan key:generate
- Migrate database:
php artisan migrate
- Seed database:
php artisan db:seed
- Run tests:
php artisan test
- Make sure you are in the
- Visit api:
http://localhost
- Navigate to
/frontend
folder - Ensure nodejs v18 is active on host
- Install javascript dependencies:
npm install
- Run frontend:
npm run dev
- Visit frontend:
http://localhost:5173