A Laravel 12 application with Vue.js 3 for managing tasks with user authentication.
- User Authentication with Laravel Sanctum
- Task Management (Create, Read, Update, Delete)
- API with proper validation and authorization
- Integration with Vue.js 3 frontend
- Comprehensive tests for all features
- Docker and Docker Compose
-
Clone the repository
git clone https://github.com/yaroslav-pohil/clear-gate.git cd clear-gate -
Copy the environment file
cp .env.example .env -
Start the Docker containers
docker-compose up -d -
Install PHP dependencies
docker-compose exec php composer install -
Generate application key
docker-compose exec php php artisan key:generate -
Run migrations and seed data
docker-compose exec php php artisan migrate --seed
- Frontend: http://localhost:8000
- API: http://localhost:8000/api
- Database: http://127.0.0.1:3306 (Check credentials in .env)
The API is documented using a Postman collection. Import the task_manager_api.postman_collection.json file into Postman to explore and test the API endpoints.
If everything is ok, the application login page will look like this:
and the dashboard page will look like this:
To run tests:
docker-compose exec php php artisan test
To stop the Docker containers:
docker-compose down
To stop and remove volumes (this will delete your database data):
docker-compose down -v

