The Goal: Show off your knowledge of how to set up and use open source tools across the stack: Set up a PHP-based full stack application using a popular MVC framework and a Docker-based environment to run it. Build one page using a popular frontend framework and serve it from your MVC app.
- Docker Implementation
● Set up a PHP-based full stack application using a popular MVC framework (Zend,
Symfony, Laravel, Magento, CodeIgniter).
● Please do not use WordPress - we love WordPress too, but it’s not what we’re looking
for here (not MVC).
● Use a popular frontend framework/library (React, Vue, Angular, Backbone, Knockout) to
build one responsive page served by the above MVC framework.
● The page can be very simple or fancy, but should be responsive.
● Use a docker-based environment to run it all:
○ You can use Docker images from hub.docker.com or build your own
○ Include a Dockerfile if you build your own
○ Use docker-compose.yml if your application has multiple pieces (e.g. web +
database) (not required)
● You do not have to use a database.
● Commit everything and share a public GitHub repo link.
● Include setup instructions for your application in a README.md.
● Test your README.md instructions.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Git
Docker
Install Git following these instructions
# https://git-scm.com/book/en/v2/Getting-Started-Installing-Git
Install Docker following these instructions
https://docs.docker.com/compose/install/
In order to run the project after install git and docker you will need
- clone this repository.
- Build the app.
- Start and runs the entire app.
git clone https://github.com/elminson/laravel-react-docker-app.git
cd laravel-react-docker-app
docker-compose build
docker-compose up
The app will be accesible by the port 8080
http://127.0.0.1:8080/
The project was tested in a new droplet in Digital Ocean (https://digitalocean.com) following the "Installing and running " instructions. Droplet used Ubuntu Docker 17.12.0~ce on 16.04
- Laravel - The PHP framework used
- React - The frontend framework used
- Docker - Used for containerization
- Html Template - Used as Template
- Elminson De Oleo Baez - elminson
This project is licensed under the MIT License - see the LICENSE.md file for details