GithubHelp home page GithubHelp logo

nadyshalaby / blogold Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 86 KB

Blogold is Articles CRUD REST API that demonstrate using JWT with Laravel as task of employment at (Matrix)

Shell 0.59% PHP 85.65% Blade 13.76%

blogold's Introduction

About Blogold

Blogold is Articles CRUD REST API that demonstrate using JWT with Laravel as task of employment at (Matrix):

How to setup project.

  1. Install composer dependances
  2. Generate JWT secret php artisan jwt:secret
  3. Setup your database and run migrations php artisan migrate
  4. Run tinker command and create new user to login with :
$ php artisan tinker

>>> App\Models\User::factory(1)->create()

=> Illuminate\Database\Eloquent\Collection {#4249
     all: [
       App\Models\User {#4254
         name: "Frederick Beatty Sr.",
         email: "[email protected]",
         phone: "+12256917031",
         email_verified_at: "2020-10-27 00:53:54",
         updated_at: "2020-10-27 00:53:54",
         created_at: "2020-10-27 00:53:54",
         id: 2,
       },
     ],
   }
>>>
  1. Seed your database with dummy data to play with php artisan db:seed

  2. Setup a virtual host or serve your application using php artisan serve

  3. Open API Docs to try your application.

License

The Laravel framework is open-sourced software licensed under the MIT license.

blogold's People

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.