Skip to content

yusron10/Sanctum

Repository files navigation

Admin Panel With Sanctum API

Tgas Magang Dari DOT Admin Panel Rest API Menggunakan Token Auth Laravel Sanctum

ScreenShot Aplikasi

Login

Screenshot (25)

Registrasi

Screenshot (34)

List Data

Screenshot (33)

List User

Screenshot (32)

Sanctum API With Token

Set Header

Screenshot (35)

Login

POST /api/login

Screenshot (36)

Logout

POST /api/logout

Screenshot (39)

Register and get your token auth

POST /api/register

Screenshot (37)

Set Auth Token

Screenshot (38)

If you use auth token then you can access all routes

# Public Routes
POST /api/login
POST /api/register
# Posts
GET /api/posts
GET /api/posts/{id}
GET  /api/posts/judul
#Protected Routes
POST /api/logout
#Posts
POST /api/posts
PUT /api/posts/{id}
DELETE /api/posts/{id}

Here i do not create a user api because i think it is the privacy of the person who uses my application

Desain DATABASE

Screenshot (24)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published