walternascimentobarroso / api-laravel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

API Laravel

πŸ“œ Overview

Template for new projects using php and nginx inside docker containers

πŸ–₯️ Start Project

First clone the project:

git clone https://github.com/walternascimentobarroso/php-nginx-docker.git
php artisan migrate:fresh --seed

Make the build

πŸ’‘ NOTE: Before next step, check the variables in .env file

make build

πŸ’‘ NOTE: If the project is already compiled then just run the make up command

βš’οΈ Tools

πŸ“‚ Folder Structure

.
β”œβ”€β”€ .editorconfig
β”œβ”€β”€ .env.example
β”œβ”€β”€ .gitignore
β”œβ”€β”€ .vscode
β”‚   └── launch.json
β”œβ”€β”€ LICENSE
β”œβ”€β”€ Makefile
β”œβ”€β”€ README.md
β”œβ”€β”€ composer.json
β”œβ”€β”€ docker
β”‚   β”œβ”€β”€ docker-compose.yml
β”‚   β”œβ”€β”€ nginx
β”‚   β”‚   └── default.conf
β”‚   └── php
β”‚       β”œβ”€β”€ Dockerfile
β”‚       └── xdebug.ini
└── public
    └── index.php

πŸ“ License

The MIT License (MIT)

😺 Author


Made with  β€οΈ 

About

License:MIT License


Languages

Language:PHP 85.5%Language:Blade 12.4%Language:Makefile 1.4%Language:Dockerfile 0.4%Language:Shell 0.2%Language:JavaScript 0.2%