This repository contains the Backend Microservice/API for the Gheras Task Manager. It provides RESTful endpoints, handles authentication (Sanctum), and manages the database logic using a Service-Oriented Architecture.
Frontend Repository: Gheras Manager UI
- PHP 8.1 or higher
- Composer
- MySQL
- Clone the repository
git clone [https://github.com/YOUR_USERNAME/Gheras-Manager-Back-End .git](https://github.com/YOUR_USERNAME/gheras-backend.git) cd gheras-backend - Install Dependencies
composer install
- Environment Setup
cp .env.example .env php artisan key:generate
Configure your database credentials in the .env file.
- Database Migration & Seeding
php artisan migrate --seed
- Run the Server
php artisan serve
- Controllers: Handle HTTP requests and responses only.
- Services: Contain the business logic (e.g., TaskService, ProjectService).
- Resources: Transform data into standardized JSON responses.
- Requests: Handle form validation.