Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/z1p4u/bb-e-commerce
E commerce web app for
https://github.com/z1p4u/bb-e-commerce
laravel laravel-excel spatie-laravel-permission
Last synced: 27 days ago
JSON representation
E commerce web app for
- Host: GitHub
- URL: https://github.com/z1p4u/bb-e-commerce
- Owner: Z1p4U
- Created: 2023-11-28T07:22:39.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-10T04:08:07.000Z (about 1 year ago)
- Last Synced: 2024-01-10T06:06:20.833Z (about 1 year ago)
- Topics: laravel, laravel-excel, spatie-laravel-permission
- Language: PHP
- Homepage:
- Size: 146 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Template
## API Reference
#### Login (Post)
```http
http://127.0.0.1:8000/api/v1/login
```| Arguments | Type | Description |
| :-------- | :----- | :--------------------------- |
| email | sting | **Required** [email protected] |
| password | string | **Required** asdffdsa |## User Profile
#### Register (Post)
```http
http://127.0.0.1:8000/api/v1/register
```| Arguments | Type | Description |
| :-------------------- | :----- | :--------------------------- |
| name | sting | **Required** Post Malone |
| email | sting | **Required** [email protected] |
| role | enum | **Required** admin/staff |
| password | string | **Required** asdffdsa |
| password_confirmation | string | **Required** asdffdsa |#### Own Profile (Get)
```http
http://127.0.0.1:8000/api/v1/your-profile
```#### Check Specific User Profile (Get)
```http
http://127.0.0.1:8000/api/v1/user-profile/{id}
```#### Check User Lists (Get)
```http
http://127.0.0.1:8000/api/v1/user-lists
```#### Edit User Info(Get)
```http
http://127.0.0.1:8000/api/v1/edit
```| Arguments | Type | Description |
| :-------- | :---- | :-------------------------------- |
| name | sting | **Required** Post Malone |
| email | sting | **Required** [email protected] |#### Password Update (Put)
```http
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
http://127.0.0.1:8000/api/v1/logout
```## Media
### Photo
#### Store Photo (Post)
```https
http://127.0.0.1:8000/api/v1/photo/store
```| Arguments | Type | Description |
| :-------- | :---- | :-------------- |
| photos[] | array | **Required** [] |#### Get Photo (Get)
```https
http://127.0.0.1:8000/api/v1/photo/list
```#### Show Photo (Get)
```https
http://127.0.0.1:8000/api/v1/photo/show/{id}
```#### Delete Photo (Del)
```https
http://127.0.0.1:8000/api/v1/photo/delete/{id}
```#### Multiple Photo Delete (Post)
```https
http://127.0.0.1:8000/api/v1/photo/multiple-delete
```| Arguments | Type | Description |
| :-------- | :---- | :------------------- |
| photos | array | **Required** [1,2,3] |###### Note : ID must be in Array.
#### Trash (Get)
```https
http://127.0.0.1:8000/api/v1/photo/trash
```#### Restore (Get)
```https
http://127.0.0.1:8000/api/v1/photo/restore/{id}
```#### Force Delete (Get)
```https
http://127.0.0.1:8000/api/v1/photo/force-delete/{id}
```#### Clear Trash (Get)
```https
http://127.0.0.1:8000/api/v1/photo/clear-trash
```