Skip to content

An implementation of a laravel API with best design practices and learnings. (DDD, CQRS, ES, Rest and GraphQL)

Notifications You must be signed in to change notification settings

petermein/api.boilerplate

Repository files navigation

api.boilerplate

An implementation of a lumen API with best design practices and learnings. (DDD, CQRS, ES, Rest and GraphQL)

TODO

Must have

  • Upgrade to stable 7.4
  • Example routes for rest
  • Setup system for DTO objects
  • Symfony message bus for CQRS
  • Setup GraphQL for resource
  • Setup phpstan validations for ddd structure
  • Integrate passport / alternative header parsing
  • Write extensive documentation
  • Port to lumen

Should have

  • Doctrine vs Laravel migrations
  • Create deployment example
  • Add docker development support
  • Add helm chart
  • Create command generators
  • WebUI example
  • Rename base command (Boilerplate -> x)
  • Typescript client generation pipeline
  • Setup OpenApi parsing method
  • Json schema or meta data provider for REST response

Could have

  • Cloudevents / NATS
  • Setup ES example
  • Integrate twofactor with passport
  • Write performance benchmark test
  • Evaluate provider and defer structure
  • Clean up unused laravel assets and dependencies (i.e. resources, routes)
  • Create development and versioning for future use

About

An implementation of a laravel API with best design practices and learnings. (DDD, CQRS, ES, Rest and GraphQL)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published