Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/z1p4u/laravel-frame

Laravel Frame with JWT authentication and Some query Builder
https://github.com/z1p4u/laravel-frame

Last synced: 27 days ago
JSON representation

Laravel Frame with JWT authentication and Some query Builder

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
```