Giter Club home page Giter Club logo

masterstart's Introduction

Approach

  • I decided to use Laravel Sail with docker for this project.
  • In order to get setup the installation of docker is crucial.
  • once you have all dependencies installed run the.
  • With the latest laravel installation I did run into issues with docker. The solution was to install the latest version of docker and it fixed it.
  • To start the project first run make setup - This will install sail which is required to run the project.

Architecture

  • For the frontend instead of using Vue I decided to see how alpinejs and tailwindcss would work with simple blade templates.
  • I decided to include all the default deployment options instead of including just what is required.
  • The makefile contains yarn but npm would work just as well.

URls

  • After running a make dev successfully the app should be available at localhost

Note

  • My assumption was that the request was to create an example of the factory pattern and to allow the app to easily switch between dependendencies. I therefore did not use the IoC container to dynamically resolve dependencies.
  • I decided to use a singleton pattern with the factory otherwise each request would effectively create a new instantiation in memory. Assumption is that the providers will stay stateless.

#setup instructions

  • Run the make setup command
  • Run the make dev command
  • if a error pops up, it should not, regarding the encryption key, generate one for your app by clicking on the botton

masterstart's People

Watchers

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