This is a simple TodoMVC application in Laravel.

Overview

TodoMVC with Laravel PHP framework as backend.

Working demo at http://laraveltodos.pagodabox.com

Also a secure version avaiable at http://laraveltodossecure.pagodabox.com/ The source code for the secure version is in this repo, in SECURE branch.

Full Integration + API Tutorial at my blog (http://maxoffsky.com/maxoffsky-blog/building-restful-api-in-laravel-part-3-integration-with-backbonejs/)

Feature Overview

  • Has a simple API consisting of ONE route and ONE controller to manage todos.
  • Has view templates that look just like TodoMVC example
  • Users can save, edit and delete todos.

#DB structure

CREATE TABLE `todos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `title` varchar(255) NOT NULL,
  `completed` varchar(4) NOT NULL,
  `created_at` datetime NOT NULL,
  `updated_at` datetime NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

CREATE TABLE `users` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `username` varchar(200) NOT NULL,
  `password` varchar(200) NOT NULL,
  `name` varchar(200) NOT NULL,
  `created_at` datetime NOT NULL,
  `updated_at` datetime NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `users_username_unique` (`username`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

License

Code is open-sourced software licensed under the MIT License.

You might also like...
Laravel Framework 5 Bootstrap 3 Starter Site is a basic application with news, photo and video galeries.
Laravel Framework 5 Bootstrap 3 Starter Site is a basic application with news, photo and video galeries.

Laravel Framework 5.1 Bootstrap 3 Starter Site Starter Site based on on Laravel 5.1 and Boostrap 3 Features Requirements How to install Application St

Demo and practice application with Laravel 8 and InertiaJS. (From laracasts course)
Demo and practice application with Laravel 8 and InertiaJS. (From laracasts course)

InertiaJS playground ⚽️ Started with the Laracasts: Build Modern Laravel Apps Using Inertia.js course and decided to share all my code here, I'll be a

An implementing of the Laravel Breeze application / authentication starter kit frontend in Next.js
An implementing of the Laravel Breeze application / authentication starter kit frontend in Next.js

Windmill with Laravel Breeze as Backend API Introduction This repository is an implementing of the Laravel Breeze application / authentication starter

project with laravel 9 and php 8 and vuejs 3(modular) in both multi page and single page application

About Project Since Laravel 9 was recently released, it supports PHP 8 and above. So I decided to implement a prototype project using Laravel 9 + PHP

CodeIgniter 4-based application skeleton

Bonfire 2 Just getting started. More details at Patreon What is Bonfire? Bonfire will be a robust application skeleton for CodeIgniter 4-based applica

This is a skeleton to quickly set up a new Slim 4 application.
This is a skeleton to quickly set up a new Slim 4 application.

Slim 4 Skeleton This is a skeleton to quickly set up a new Slim 4 application. Requirements PHP 7.4+ or 8.0+ MySQL 5.7+ or MariaDB Recommended Apache

Slim Framework 4 Skeleton Application

Slim Framework 4 Skeleton Application Use this skeleton application to quickly setup and start working on a new Slim Framework 4 application. This app

Application pour la gestion de emploi du temps et le payement des profs vacataires
Application pour la gestion de emploi du temps et le payement des profs vacataires

GPET Application pour la gestion de emploi du temps et le payement des profs vacataires CONNEXION Email Mot de passe BATIMENT CRUD Ajouter un nouveau

This is the web Application for Event Management

Web-Application This is the web Application for Event Management Abstract: In the Past the registration to the event is like Standing in the queue pay

Comments
  • Database Structure / Migrations / SQL File

    Database Structure / Migrations / SQL File

    Maks,

    Thanks for writing this. I have set it up locally to work with it, but there are no migrations or example database files that I can find.

    Could you please post up an sql file for import or a migrations file that would allow me to create a database structure to use the app? I dug through your tutorial/blog for it and didn't see one there - the only table outlined was the todo table, but it appears there are user tables, as well.

    Thanks, again.

    opened by joelkuehn 1
Owner
Maksim Surguy
MS in Tech Innovation, Design Tech at Amazon Past: dev @firstech, @nbcuniversal, creator of Bootsnipp, Drawingbots, Plotterfiles and many more.
Maksim Surguy
Creating a simple weather web application with Laravel rest API.

Weather Channel Creating a website for weather status, with Laravel restAPI. See the Website Weather.Channel-1.mov Features REST API Invoake Controlle

AmirH.Najafizadeh 3 Jul 31, 2022
Laravel and AngularJS Starter Application Boilerplate featuring Laravel 5.3 and AngularJS 1.5.8

?? Zemke/starter-laravel-angular has been upgraded to AngularJS 1.5.8. ?? Zemke/starter-laravel-angular has been upgraded to Laravel 5.3. You can pull

Florian Zemke 372 Nov 21, 2022
Laravel Quick-Start - a boilerplate for Laravel Application with typical packages preinstalled and configured

Laravel Quickstart is a boilerplate for Laravel Application with typical packages preinstalled and configured to extend a full-fledged application. We tried to make it as minimal as possible.

Vijay Goswami 18 Sep 8, 2022
⬆️ ⬇️ User vote system for Laravel Application.

Laravel Vote ⬆️ ⬇️ User vote system for Laravel Application. Installing $ composer require overtrue/laravel-vote -vvv Configuration This step is optio

安正超 79 Dec 21, 2022
Syntax-aware proofreading for your Laravel application.

Laravel Prose Linter Syntax-aware proofreading for your Laravel application. The Laravel Prose Linter helps you to polish the texts of your Laravel ap

Beyond Code 97 Dec 18, 2022
A Laravel admin panel which is creating CRUD for your application automatically.

Adds a zero configuration Admin Panel to your Laravel Application Installation You can install the package via composer: composer require max-hutschen

42coders 10 Aug 24, 2022
Registry manager for Laravel 5. An alternative for managing application configurations and settings.

Registry manager for Laravel 5. An alternative for managing application configurations and settings. Now with the magic of caching, so no more database calls to simply get site setting.

Daniel Stainback 22 Sep 28, 2020
Quick new application creation with Laravel and Valet

Super-powered laravel new for Laravel and Valet Lambo is a command-line tool that replaces the Laravel installer and wraps up the most common tasks yo

Tighten 593 Dec 30, 2022
Laravel CRUD Generator, Make a Web Application Just In Minutes, Even With Less Code and fewer Steps !

?? CRUDBOOSTER - Laravel CRUD Generator Laravel CRUD Generator, Make a Web Application Just In Minutes, Even With Less Code and fewer Steps ! About CR

Crocodic Studio 1.7k Jan 8, 2023
👔 Enterprise Web application starter kit or template using Laravel

Laravel Enterprise Starter Kit (LESK) Description LESK, is a template project based on the Laravel LTS, combining a set of features that can kick star

Sebastien Routier 1 Dec 31, 2020