All Projects β†’ jfernancordova β†’ docker-laravel-api-dev

jfernancordova / docker-laravel-api-dev

Licence: MIT license
🐳 The containerized Laravel API development environment

Programming Languages

PHP
23972 projects - #3 most used programming language
Blade
752 projects
shell
77523 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to docker-laravel-api-dev

december-2018-meetup
πŸ€– Build an API with LaravelΒ 5.7
Stars: ✭ 27 (-12.9%)
Mutual labels:  laravel-api, laravel-api-boilerplate
Clean-Laravel-Api
⭐️ Build APIs You Won't Hate In Laravel.
Stars: ✭ 85 (+174.19%)
Mutual labels:  laravel-api, laravel-api-boilerplate
laravel-api
A base install of Laravel with Sanctum & Fortify, set up as an API.
Stars: ✭ 58 (+87.1%)
Mutual labels:  laravel-api
laravel-api
A repository containing a starter kit that can help you develop api in your Laravel applications.
Stars: ✭ 25 (-19.35%)
Mutual labels:  laravel-api
laravel route summary
Create a summary of all the laravel routes
Stars: ✭ 11 (-64.52%)
Mutual labels:  laravel-api
laravel-6-api-boilerplate
A Laravel 6 API Boilerplate to create a ready-to-use REST API. User Authentication using JWT
Stars: ✭ 51 (+64.52%)
Mutual labels:  laravel-api-boilerplate
bearer
Minimalistic token-based authorization for Laravel API endpoints.
Stars: ✭ 74 (+138.71%)
Mutual labels:  laravel-api
laravel-api-auth
A Laravel Package for easy API authentication setup with passport
Stars: ✭ 29 (-6.45%)
Mutual labels:  laravel-api
kauth
πŸ”‘ kauth is JWT API Authentication ( jwt-auth ) for laravel
Stars: ✭ 14 (-54.84%)
Mutual labels:  laravel-api
laravel-api-example
πŸ’» Build an API with Laravel 5
Stars: ✭ 47 (+51.61%)
Mutual labels:  laravel-api
Laradock
Full PHP development environment for Docker.
Stars: ✭ 11,064 (+35590.32%)
Mutual labels:  docker-laravel
docker-laravel-appengine
Laravel dockerized with official Google App Engine flexible php environment + swoole.
Stars: ✭ 66 (+112.9%)
Mutual labels:  docker-laravel
Laravel-Docker-Template
Docker compose template for Laravel application
Stars: ✭ 31 (+0%)
Mutual labels:  docker-laravel

Laravel API Boilerplate Dockerized

Build Status License

  • API Laravel Boilerplate 5.5
  • Apache 2
  • MySQL
  • Xdebug
  • Docker

You can manage a RestFull API in the fastest, simplest and funniest way! and with open source code dependencies.

However, you can contribute for a better performance, the goal is to focus on the code avoiding the configurations and having docker installed.

Prerequisites

Environments

Dev or Local Mode

  • docker-compose-dev.yml: generate automatically folders and require-dev dependencies on your local workspace including Xdebug. Note: the yaml file has a key called:"XDEBUG_MODE", this yaml by default has the value true (1) to install it.

You can appreciate the dependencies generated automatically on your workspace!

Play with Docker Mode

Play With Docker

  • docker-compose-pwd.yml: you can use it to visualize this environment and test it, however you should see the container lists to verify the HEALTHCHECK.
# container lists
docker ps
# make sure that the docker dockerlaravelapidev_php_1 or php container is (healthy),
normally the process begins in starting mode (health: starting),

Production Mode

  • docker-compose-prod.yml: if you are going to use this yaml, make sure to generate the migrations before!,you can modify the entrypoint to generate them.

Deployment

Docker Environments

Clone this repository and run the following commands based on your orchestrator;

Swarm Mode

Clone this repository and run the following commands:

cd docker-laravel-api-dev/
docker stack deploy -c docker-compose-dev.yml docker-laravel-api-dev
# wait for the HEALTHCHECK in healthy mode

Docker Compose

Clone this repository and run the following commands:

cd docker-laravel-api-dev/
docker-compose -f docker-compose-dev.yml up --build -d 
or to see the logs 
docker-compose -f docker-compose-dev.yml up 
# wait for the HEALTHCHECK in healthy mode

Running the tests

You have a Travis Pipeline to apply Continuous Integration, and other technology to test this environment.

You can modify the runtests.sh from the scripts folder

Insert jobs, instructions, builds in this pipeline

API Boilerplate Reference

https://github.com/francescomalatesta/laravel-api-boilerplate-jwt/blob/master/readme.md

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].