Skip to content

Z1p4U/E-commerce

Repository files navigation

Template

API Reference

npm i && composer install && cp .env.example .env && php artisan key:generate && code .

Login (Post)

http://127.0.0.1:8000/api/v1/login
Arguments Type Description
email sting Required admin@gmail.com
password string Required asdffdsa

User Profile

Register (Post)

http://127.0.0.1:8000/api/v1/register
Arguments Type Description
name sting Required Post Malone
email sting Required admin@gmail.com
role enum Required admin/staff
password string Required asdffdsa
password_confirmation string Required asdffdsa

Own Profile (Get)

http://127.0.0.1:8000/api/v1/your-profile

Check Specific User Profile (Get)

http://127.0.0.1:8000/api/v1/user-profile/{id}

Check User Lists (Get)

http://127.0.0.1:8000/api/v1/user-lists

Edit User Info(Get)

http://127.0.0.1:8000/api/v1/edit
Arguments Type Description
name sting Required Post Malone
email sting Required PostMalone@gmail.com

Password Update (Put)

http://127.0.0.1:8000/api/v1/update-password
Arguments Type Description
current_password sting Required asdffdsa
password string Required asdffdsa
password_confirmation string Required asdffdsa

Logout (Post)

http://127.0.0.1:8000/api/v1/logout

About

Mini E-commerce api with laravel

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy