Coder Social home page Coder Social logo

varun2948 / laravel-react-tasks Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jeremykenedy/laravel-react-tasks

1.0 1.0 0.0 584 KB

Simple create/read/update task list example using Laravel 5.7 API routes and ReactJS UI.

License: MIT License

PHP 96.34% HTML 3.66%

laravel-react-tasks's Introduction

Laravel React Tasks

Build Status StyleCI Scrutinizer Code Quality License: MIT

Table of contents

About

Simple create/read/update task list example using Laravel 5.7 API routes and ReactJS UI.

Features

Laravel React Tasks Features
Built on Laravel 5.7
Built on Bootstrap 4
Front End Built on ReactJS

Installation Instructions

  1. Run git clone https://github.com/jeremykenedy/laravel-react-tasks.git laravel-react-tasks
  2. From the projects root run cp .env.example .env
  3. Run composer update from the projects root folder
  4. From the projects root folder run php artisan key:generate
  5. From the projects root folder run yarn install
  6. From the projects root folder run yarn run dev or yarn run production
  • You can watch assets with yarn run watch
  1. From the projects root folder run php artisan serve

Routes

+--------+----------+------------------------+------+--------------------------------------------------------+------------+
| Domain | Method   | URI                    | Name | Action                                                 | Middleware |
+--------+----------+------------------------+------+--------------------------------------------------------+------------+
|        | GET|HEAD | api/projects           |      | App\Http\Controllers\ProjectController@index           | api        |
|        | POST     | api/projects           |      | App\Http\Controllers\ProjectController@store           | api        |
|        | GET|HEAD | api/projects/{id}      |      | App\Http\Controllers\ProjectController@show            | api        |
|        | PUT      | api/projects/{project} |      | App\Http\Controllers\ProjectController@markAsCompleted | api        |
|        | POST     | api/tasks              |      | App\Http\Controllers\TaskController@store              | api        |
|        | PUT      | api/tasks/{task}       |      | App\Http\Controllers\TaskController@markAsCompleted    | api        |
|        | GET|HEAD | {path?}                |      | Illuminate\Routing\ViewController                      | web        |
+--------+----------+------------------------+------+--------------------------------------------------------+------------+

File Tree

Laravel React Tasks
├── .env.example
├── .env.travis
├── .gitattributes
├── .gitignore
├── .travis.yml
├── LICENSE
├── app
│   ├── Console
│   │   └── Kernel.php
│   ├── Exceptions
│   │   └── Handler.php
│   ├── Http
│   │   ├── Controllers
│   │   │   ├── Auth
│   │   │   │   ├── ForgotPasswordController.php
│   │   │   │   ├── LoginController.php
│   │   │   │   ├── RegisterController.php
│   │   │   │   ├── ResetPasswordController.php
│   │   │   │   └── VerificationController.php
│   │   │   ├── Controller.php
│   │   │   ├── ProjectController.php
│   │   │   └── TaskController.php
│   │   ├── Kernel.php
│   │   └── Middleware
│   │       ├── Authenticate.php
│   │       ├── CheckForMaintenanceMode.php
│   │       ├── EncryptCookies.php
│   │       ├── RedirectIfAuthenticated.php
│   │       ├── TrimStrings.php
│   │       ├── TrustProxies.php
│   │       └── VerifyCsrfToken.php
│   ├── Models
│   │   ├── Project.php
│   │   └── Task.php
│   ├── Providers
│   │   ├── AppServiceProvider.php
│   │   ├── AuthServiceProvider.php
│   │   ├── BroadcastServiceProvider.php
│   │   ├── EventServiceProvider.php
│   │   └── RouteServiceProvider.php
│   └── User.php
├── artisan
├── bootstrap
│   ├── app.php
│   └── cache
│       ├── .gitignore
│       ├── packages.php
│       └── services.php
├── composer.json
├── composer.lock
├── config
│   ├── app.php
│   ├── auth.php
│   ├── broadcasting.php
│   ├── cache.php
│   ├── database.php
│   ├── filesystems.php
│   ├── hashing.php
│   ├── logging.php
│   ├── mail.php
│   ├── queue.php
│   ├── services.php
│   ├── session.php
│   └── view.php
├── database
│   ├── .gitignore
│   ├── factories
│   │   └── UserFactory.php
│   ├── migrations
│   │   ├── 2014_10_12_000000_create_users_table.php
│   │   ├── 2014_10_12_100000_create_password_resets_table.php
│   │   ├── 2018_09_30_070315_create_tasks_table.php
│   │   └── 2018_09_30_070349_create_projects_table.php
│   └── seeds
│       └── DatabaseSeeder.php
├── package.json
├── phpunit.xml
├── public
│   ├── .htaccess
│   ├── css
│   │   └── app.css
│   ├── favicon.ico
│   ├── index.php
│   ├── js
│   │   └── app.js
│   ├── mix-manifest.json
│   ├── robots.txt
│   └── svg
│       ├── 403.svg
│       ├── 404.svg
│       ├── 500.svg
│       └── 503.svg
├── readme.md
├── resources
│   ├── js
│   │   ├── app.js
│   │   ├── bootstrap.js
│   │   └── components
│   │       ├── App.js
│   │       ├── Example.js
│   │       ├── Header.js
│   │       ├── NewProject.js
│   │       ├── ProjectsList.js
│   │       └── SingleProject.js
│   ├── lang
│   │   └── en
│   │       ├── auth.php
│   │       ├── pagination.php
│   │       ├── passwords.php
│   │       └── validation.php
│   ├── sass
│   │   ├── _variables.scss
│   │   └── app.scss
│   └── views
│       ├── app.blade.php
│       └── welcome.blade.php
├── routes
│   ├── api.php
│   ├── channels.php
│   ├── console.php
│   └── web.php
├── server.php
├── webpack.mix.js
└── yarn.lock
  • Tree command can be installed using brew: brew install tree
  • File tree generated using command tree -a -I '.git|node_modules|vendor|storage|tests'

License

Laravel React Tasks is licensed under the MIT license. Enjoy!

laravel-react-tasks's People

Contributors

jeremykenedy avatar

Stargazers

 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.