Coder Social home page Coder Social logo

laravel5-angular2's Introduction

Laravel 5 + Angular 2 boilerplate

alt tag

license

This is a boilerplate for Laravel5 + Angular2 projects. Webpack is used for bundling assets.

Versions

  • Laravel 5.3.9
  • Angular 2.0.0
  • Webpack 1.13.1

Requirements

  • PHP >= 5.6.4
  • Composer - Package manager for PHP
  • NPM - Node package manager
  • Gulp

Installation

  • clone repository
  • run installer script via ./install or bash install

Installer script is a bash script that runs list of commands one-by-one. It is created to simplify installation process.

At this point you can start developing your app.

Note:

If the npm install fail, you need to run manually npm rebuild node-sass --no-bin-links

Development

Run development script via ./develop or bash develop.

Development script is a bash script that runs development php server and watches for changes with Gulp and Browsersync.

Database

Set proper credentials in .env file in order to use database.

Run migrations via php artisan migrate.

Production

Run gulp --production to merge and minify:

  • JavaScript-files into all.js file.
  • CSS-files into all.css file.

Check resources/views/welcome.blade.php to see how to use those according to active environment. Don't forget to run php artisan config:cache when change environment in .env file.

License

The repository code is open-sourced software licensed under the MIT license.

laravel5-angular2's People

Contributors

moff avatar intrepido avatar

Watchers

James Cloos avatar  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.