Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/z1p4u/e-commerce
Mini E-commerce api with laravel
https://github.com/z1p4u/e-commerce
api laravel-excel laravel-framework spatie-laravel-permission
Last synced: 27 days ago
JSON representation
Mini E-commerce api with laravel
- Host: GitHub
- URL: https://github.com/z1p4u/e-commerce
- Owner: Z1p4U
- Created: 2024-01-02T04:52:38.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-13T18:06:12.000Z (11 months ago)
- Last Synced: 2024-03-13T19:26:40.627Z (11 months ago)
- Topics: api, laravel-excel, laravel-framework, spatie-laravel-permission
- Language: PHP
- Homepage:
- Size: 297 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Template
## API Reference
```http
npm i && composer install && cp .env.example .env && php artisan key:generate && code .
```#### 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
```