All Projects → FabrizioCafolla → Lumen Microservice

FabrizioCafolla / Lumen Microservice

Licence: mit
Lumen on Docker - Skeleton project with Nginx, MySQL & PHP 7 | Aws ECS, Google Kubernates, Azure Container Engine

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Lumen Microservice

Jikan Rest
The REST API for Jikan
Stars: ✭ 200 (+9.29%)
Mutual labels:  api, rest-api, rest, laravel, lumen
Forrest
A Laravel library for Salesforce
Stars: ✭ 171 (-6.56%)
Mutual labels:  rest-api, rest, laravel, lumen
Httpie
As easy as /aitch-tee-tee-pie/ 🥧 Modern, user-friendly command-line HTTP client for the API era. JSON support, colors, sessions, downloads, plugins & more. https://twitter.com/httpie
Stars: ✭ 53,052 (+28890.16%)
Mutual labels:  api, rest-api, rest, devops
Apicheck
The DevSecOps toolset for REST APIs
Stars: ✭ 184 (+0.55%)
Mutual labels:  api, rest-api, rest, devops
Rest Api Fuzz Testing
REST API Fuzz Testing (RAFT): Source code for self-hosted service developed for Azure, including the API, orchestration engine, and default set of security tools (including MSR's RESTler), that enables developers to embed security tooling into their CI/CD workflows
Stars: ✭ 119 (-34.97%)
Mutual labels:  api, rest-api, rest, devops
Poloniex Api Node
Poloniex API client for REST and WebSocket API
Stars: ✭ 138 (-24.59%)
Mutual labels:  api, rest-api, rest
Grafanajsondatasource
Grafana datasource to load JSON data over your arbitrary HTTP backend
Stars: ✭ 146 (-20.22%)
Mutual labels:  api, rest-api, rest
Api Guidelines
adidas group API design guidelines
Stars: ✭ 147 (-19.67%)
Mutual labels:  api, rest-api, rest
Laravel Api Debugger
Easy debug for your JSON API.
Stars: ✭ 175 (-4.37%)
Mutual labels:  api, rest, laravel
Laravel Docker K8s
Running Laravel project using Docker and Deploying using Kubernetes
Stars: ✭ 127 (-30.6%)
Mutual labels:  laravel, docker-image, docker-compose
Laravel Api Handler
Package providing helper functions for a Laravel REST-API
Stars: ✭ 150 (-18.03%)
Mutual labels:  api, rest-api, laravel
Graphql2rest
GraphQL to REST converter: automatically generate a RESTful API from your existing GraphQL API
Stars: ✭ 181 (-1.09%)
Mutual labels:  api, rest-api, rest
Laravel Fractal
An easy to use Fractal wrapper built for Laravel and Lumen applications
Stars: ✭ 1,748 (+855.19%)
Mutual labels:  api, laravel, lumen
Node Express Mongoose Passport Jwt Rest Api Auth
Node, express, mongoose, passport and JWT REST API authentication example
Stars: ✭ 146 (-20.22%)
Mutual labels:  api, rest-api, rest
Open Rest
Standard rest server, Base on restify and sequelize
Stars: ✭ 136 (-25.68%)
Mutual labels:  api, rest-api, rest
Appkernel
API development made easy: a smart Python 3 API framework
Stars: ✭ 152 (-16.94%)
Mutual labels:  api, rest-api, rest
Proteus
Lean, mean, and incredibly fast JVM framework for web and microservice development.
Stars: ✭ 178 (-2.73%)
Mutual labels:  api, rest-api, rest
Restful Api With Laravel Definitive Guide
Repository with the base code for the course "RESTful API with Laravel - Definitive-Guide"
Stars: ✭ 156 (-14.75%)
Mutual labels:  api, rest-api, laravel
Storefront Api
Storefront GraphQL API Gateway. Modular architecture. ElasticSearch included. Works great with Magento1, Magento2, Spree, OpenCart, Pimcore and custom backends
Stars: ✭ 180 (-1.64%)
Mutual labels:  api, rest-api, rest
Laravel Hateoas
Expose the authorization logic of your REST API using HATEOAS links
Stars: ✭ 116 (-36.61%)
Mutual labels:  api, rest-api, laravel

Docker infrastructure for Lumen

Description

Microservice Lumen is a starting skeleton based on Docker and Lumen Framework. This project helps to develop and maintain a simple and clean infrastructure for the management / creation of php microservices. In just a few steps, the developer starts the development / staging / production environment as needed. Basically, the Nginx containers are available for the webserver, the backend container in PHP 7.4 for the application, both based on Linux alpine. Include MySQL container by default. The Dockefile (in the docker folder) is already set up to create the production image of the application, we recommend modifying it only to add dependencies or configurations.

Develop env

La prima volta che viene eseguito il setup saranno chiesti in input dei dati (nome app, verisone larvel ed altro), questo genererà un file env.conf e un .env (che è la copia esetta), il primo dovrete versionarlo il secondo sarà escluso. Inoltre verrà scaricato il codice sorgente laravel/lumen, anche'esso dovrà essere versionato. Nel caso il vostro progetto sia stato già inizializzato, chi andrà a scaricarlo dovrà eseguire comunque sia il primo passo indicato in 'setup and run'.

- require

OS: linux
Packages: make
Docker version: >= 18.09.6
docker-compose version: >= 1.28.0

- setup and run

1.  make setup

2.  [not required] Set .env db connection into lumen/ dir:
    DB_CONNECTION=mysql
    DB_HOST=mysql.private
    DB_PORT=3306
    DB_DATABASE=lumen
    DB_USERNAME=root
    DB_PASSWORD=root

- make commands

down:  down containers

up:   up -d containers

exec:  enter in app container

exec_mysql:  enter in mysql container

ssh_root:  connection ssh (as root) to server

ssh:  connection ssh (as www-data) to server

deploy: rebuild containers (down, build and up)

## production ##

image_build:  build immagine

image_push: publish image

Manual push into docker hub registry

References

Nginx: 1.18

PHP: 7.4-fpm-alpine

MySQL: 8.0

Lumen Framework: delfault master (or specific version)

License

This project is open-sourced software licensed under the MIT license

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].