Giter VIP home page Giter VIP logo

laravel-vue-crud's Introduction

Laravel & Vue JS CRUD Example

Install

  1. Open your terminal.

  2. Clone this repo:

     git clone https://github.com/herusdianto/laravel-vue-crud.git
    
  3. Once finished, change directory to laravel-vue-crud:

     cd laravel-vue-crud
    
  4. Install all laravel dependencies:

     composer install
    
  5. Copy .env file:

     cp .env.example .env
    
  6. Modify DB_* value in .env with your database config.

  7. Generate application key:

     php artisan key:generate
    
  8. Run migration table:

     php artisan migrate
    
  9. Create a symbolic link:

     php artisan storage:link
    
  10. Serve the app:

    php artisan serve
    
  11. Open http://localhost:8000/ in your web browser.

Dummy Data

  1. Open your terminal and change directory to laravel-vue-crud.

  2. Run this command:

     php artisan tinker
    
  3. Type this script:

     factory(App\Student::class, 100)->create();
    
  4. Hit Enter. You can create dummy data as many as you want.

Development

  1. Open your terminal and change directory to laravel-vue-crud.

  2. Make sure you have nodejs installed and run this command:

     npm install
    
  3. Make sure you have bower installed and run this command:

     bower install
    
  4. Make sure you have gulp installed and run this command:

     gulp watch
    
  5. All files (components, etc) are located in resources/assets.

Check out the demo here.

laravel-vue-crud's People

Contributors

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