Giter Club home page Giter Club logo

laravel-react-docker-app's Introduction

Project laravel-react-docker-app

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.

What I Learned

  • Docker Implementation

Requirements

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

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

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/

Installing and running

In order to run the project after install git and docker you will need

  1. clone this repository.
  2. Build the app.
  3. 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/

Tested

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 Screenshot_5

Built With

Screenshots

Screenshot_1 Screenshot_2 Screenshot_3 Screenshot_4 Screenshot_5

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

laravel-react-docker-app's People

Contributors

elminson avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.