Coder Social home page Coder Social logo

todo-vue-laravel's Introduction

Todo App Using Laravel and VueJs

How to run :

composer install 
npm install
copy .env.example to .env
set up database
php artisan migrate --seed
npm run dev
Things To Do:
  • Create Mark Todo Complete API
  • Delete Todo API
  • Mark All Todos as Complete API
  • Delete All Todos API
  • Show paginated results
  • Filter Date Wise Results
Backend Details:

I have used service for inserting and updating data which although unnecessary in small project but will help those who want to write clean code in Laravel. Service helps to keep controllers clean. And services can be used from different types of controllers. This project would have worked fine without using laravel. The API's can be written using microframeworks like lumen or flask. And Vue app would have been seperate. But this project was created to show how we can use Vue with laravel seamlessly. Although in very huge projects this should be avoided as single monolithic code base is very hard to maintain. I have seperated API url and WEB url with domain. Check RouteServiceProvider for more details.

todo-vue-laravel's People

Contributors

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