Giter Site home page Giter Site logo

jemmy / fullstack Goto Github PK

View Code? Open in Web Editor NEW

This project forked from capocaccia/fullstack

0.0 1.0 0.0 386 KB

A full stack base template for using Laravel with VueJS. Typescript, SCSS, Babel, ESLINT, Jest, and PHPUnit included.

PHP 92.41% HTML 0.93% Vue 5.12% TypeScript 1.55%

fullstack's Introduction

fullstack

A full stack base template for using Laravel with VueJS. Typescript, SCSS, Babel, ESLINT, Jest, and PHPUnit included.

Stack

Server

Utilizes the Laravel PHP framework to handle server functionality providing an out of the box MVC framework.

With this repository, the easiest way to get up and running fast is by using Laravel Valet to handle PHP execution.

However, it can easily be configured to be served through a Vagrant environment or Docker container as well.

Client

The client side is handled with Vue.JS and is completely separated from the server side Laravel application. Requests from the front end are sent via proxy (configured in the vue.config.js file) to the server side. This means you can work on the front end and back end independently allowing for a true separation of concerns in this fullstack environment.

Niceties

Testing ready. PHPUnit and Jest are included out of the box.

No more Laravel Mix. Run the serve script inside of the front end and you will be utilizing Webpack out of the box. Waiting for laravel mix to compile is a thing of the past.

Configure to your liking. This is just a base template that I like. If you want to change anything about it, you are welcome and encouraged to do it.

Utilization

  1. Clone this repo
  2. Run this command from project root: composer install && cd frontend && npm install && npm run serve
  3. You should now have a front end being served on localhost.

Watch out.

If Laravel Valet is misconfigured or the devServer.proxy in your vue.config.js file is not pointed to the right domain the Laravel application cannot interpret requests coming from the front end. Make sure that Valet is configured correctly.

fullstack's People

Contributors

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