Skip to content

Add API Starter Kit For RESTful API. #44

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

AhmedHdeawy
Copy link

Idea Brief

The Laravel API Starter Kit is a comprehensive boilerplate designed specifically for backend developers who need to quickly scaffold RESTful APIs using Laravel. Unlike general-purpose starter kits, this one focuses exclusively on API development, implementing industry best practices like Service and Repository patterns to ensure clean, maintainable, and testable code.
This starter kit aims to solve common challenges in API development by providing a standardized structure, consistent response formats, and allowing developers to focus on business logic rather than repetitive boilerplate code.

Core Features

The API Starter Kit includes the following core features:

  • Service Class Pattern
  • Repository Pattern
  • Standardized API Response Structure
  • API Versioning
  • Query Builder (Dynamic filtering, sorting, and pagination using Spatie Query Builder)
  • Authentication using JWT
  • Request Validation
  • Resource Transformers
  • API Documentation
  • Telescope for Development & Debugging.
  • Code Quality Tools (Pint, Larastan, IDE Helper)
  • Pest for Testing (already configured and ready to use, see current tests).
  • Docker Configuration
  • Git Hooks (pre-commit and pre-push to automatically run Pint, Larastan, and test suites)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant