Skip to content

rafiudd/laravel-jwt-auth

Repository files navigation

Laravel API - Module-04 CRUD

Laravel API Project - Create, Read, Update and Delete (CRUD)

Requirements

  • Composer
  • PHP >= 7.1.3
  • MySQL or MariaDB.

Tutorials

Challenge

  • Clone this repositories
  • Install depedencies
$ composer install
  • Create .env file
$ cp .env-example .env
  • Genereate key (laravel and jwt)
$ php artisan key:generate
$ php artisan jwt:secret
  • Modify .env file, configure the database connection string
  • Create a migration and a model file for the material table
  • Migrate database
  • Create a new controller and add the crud command
  • Create endpoints for controllers that have been made
  • Use the postman to check the API that has been made
  • Push project to this repositories
  • Take a screenshot of your repositories link and post to the KK4-B Google Classroom

Example Table Schema

Material Table

Name Type
uuid uuid
thumbnail string(100)
title string(200)
content text

Postman Collection && Docs

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published