Skip to content

hudaprs/be_repository_pattern_api_laravel

Repository files navigation

Build Status Total Downloads Latest Stable Version License

Laravel with Repository Pattern

Structured Laravel application using Repository Pattern V1.0.0

Read more deeper explanation in here

Medium Article

About Laravel

Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:

Laravel is accessible, powerful, and provides tools required for large, robust applications.

Things todo list:

  1. Clone this repository: git clone https://gitlab.com/laravel-web-application/laravel-api-repository-pattern.git
  2. Go inside the folder: cd laravel-api-repository-pattern
  3. Run cp .env.example .env then put your DB name & credentials
  4. Run composer install
  5. Run php artisan key:generate
  6. Run php artisan migrate
  7. Run php artisan serve
  8. Open your favorite REST API Client such as POSTMAN or Insomnia
  9. Import POSTMAN Collection into your POSTMAN App.

Screen shot

Add New User

Add New User

List All Users

List All Users

Find User By ID

Find User By ID

Update User By ID

Update User By ID

Delete User By ID

Delete User By ID

Error Message

Error Message

About

Repository pattern API with Laravel

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •