Coder Social home page Coder Social logo

todo-list's Introduction

Laravel Tutorial by P'otis

Basics Todo-List Application

what will you learn from this?

  1. artisan command
  2. larvel mvc model
  3. how to store data in database by using laravel
  4. rich of php syntax
  5. Eloquent model of laravel

How to use this repository?

  1. copy .env.example แล้วเปลี่ยนชื่อเป็น .env หลังจากนั้นให้เปลี่ยน DB_DATABASE, DB_USERNAME, DB_PASSWORD เป็น ของตัวเองตามที่ตั้งไว้ใน xampp
  2. หลังจากนั้นให้ไปที่หน้า cmd ไปที่ directory ของ project นี้ แล้วสั่ง php artisan migrate เพื่อสร้าง database
  3. โดยหากทำถูกต้อง จะมีตารางชื่อ users, password reset และ todos อยู่ใน database
  4. หากต้องการ reset ค่าใน database ใหม่ให้รันคำสั่ง php artisan migrate:rollback ใน cmd หลังจากนั้นให้สั่ง php artisan migrate อีกที

วันที่ให้พี่ดูงานคือวันจันทร์ที่ 20 มีนาคมนะจ้ะ up ขึ้น repo ตัวเองแล้วเอาลิ้งมาให้พี่ดูด้วย

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.