Giter VIP home page Giter VIP logo

programmershinobi / task-5-fullstack Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 2.52 MB

Virtual Internship Experience (Investree) - Fullstack - Faqih Pratama Muhti

Shell 2.40% PHP 25.63% Dockerfile 1.64% CSS 55.25% JavaScript 3.17% Vue 0.08% SCSS 0.13% Blade 11.71%
authentication cleanup code-search-engine optimization php php-framework problem-solving-skills restful-api sql-database quality-function-development

task-5-fullstack's Introduction

Laravel 8 Articles

Virtual Internship Experience (Investree) - Fullstack - Faqih Pratama Muhti

Author

Laravel 8 Articles created by :

Feature

  • JWT Authentication
  • CRUD RESTfull-API (Categories & Posts)
  • Verify Email Users
  • Login Authentication
  • CRUD Categories
  • CRUD Posts

User

Admin

  • Email : "matches the database in the users table"
  • Password : password

Run This Apps

  • Download the master branch in terminal
     git clone [email protected]:programmerShinobi/task-5-fullstack.git
    
  • Install the composer dependencies in terminal
     composer install
    
  • Make a file .env from .env.example and setting your config & create database name : articles_db
    //...
    APP_URL=http://127.0.0.1:8000
    //...
    DB_CONNECTION=mysql
    DB_HOST=127.0.0.1
    DB_PORT=3306
    DB_DATABASE=articles_db
    DB_USERNAME=root
    DB_PASSWORD=
    //...
    
  • Dont forget generate key from Laravel artisan in terminal
     php artisan key:generate
    
  • Run composer update in terminal
     composer update
    
  • Run Seed and faker in terminal
     php artisan migrate:fresh --seed
    
  • Run passport in terminal
     php artisan passport:install
    
  • Dont forget copy-paste the latest "Client ID" & "Client secret" to app/Http/Controllers/Api/Auth/LoginController.php
    //...
    class LoginController extends Controller
    {
        public function store(Request $request)
        {
            //...
            'client_id' => '...',
            'client_secret' => '...',
            //...
         }
    //...
    }
    
  • Dont forget setting your URL in config/app.php
    //...
    'url' => env('APP_URL', 'http://127.0.0.1:8000'),
    //...
    
  • Run JWT authentication
    php artisan jwt:secret
    
  • Run serve in terminal
    php artisan serve
    
  • Run apps in web browser
     http://127.0.0.1:8000
    
  • Run RESTfull API in API testing tool
    http://127.0.0.1:8000/api/...
    
  • If you run RESTfull API in testing tool using Postman, just download the file from this google drive link. And then import the file into your API testing tool using Postman

If you have some suggestion ||~

Just Contact Me At :

task-5-fullstack's People

Contributors

programmershinobi avatar

Watchers

 avatar

Forkers

wirapratamaz

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.