Skip to content

This repository contains the project that we will make in the Software Engineering course as well as being a backend in making buying and selling application projects and top up accounts which we named "Gamevor". This backend is made using the PHP programming language with the Laravel framework.

Notifications You must be signed in to change notification settings

daffahaidar/gamevor-backend

Repository files navigation

API Reference

Login

  POST {{API_URL}}/api/login
Parameter Type Description
email string Required. Your Email
password string Required. Your Password

Register

  POST {{API_URL}}/api/register
Parameter Type Description
name string Required. Your Name
email string Required. Your Email
username string Required. Your Username
password string Required. Your Password

Logout

  POST {{API_URL}}/api/logout
Key Value Description
Accept application/json
Authorization Bearer 6/Key

Update Profile

  POST {{API_URL}}/api/user
Parameter Type Description
name string Required. Your Name
email string Required. Your Email
username string Required. Your Username
password string Required. Your Password

Update Profile Header

Key Value Description
Accept application/json
Authorization Bearer 7/Key

User Data

  GET {{API_URL}}/api/user
Key Value Example Key
Accept application/json
Authorization Bearer 7 3CnhqxxjI8eE9nTssSQUEvi5sEdtTmTqLkNneavz

Products Data

  GET {{API_URL}}/api/products
Key Example Value
id 1
limit 6
name Mobile Legends
description Awesome
price_from 1
price_to 10000
tags popular
category 1

Products Category

  GET {{API_URL}}/api/categories?show_product={Key}
Key Example Value
id 1
limit 6
name Mobile Legends
show_product 1

Transactions

  GET {{API_URL}}/api/transactions
Key Example Value
id 1
limit 6
status PENDING

Checkout Data

  GET {{API_URL}}/api/checkout
  {
    "address": "Kota Bandung",
    "items": [
        {
            "id": 1,
            "quantity": 2
        },
        {
            "id": 2,
            "quantity": 2
        },
        {
            "id": 3,
            "quantity": 2
        }
    ],
    "status": "PENDING",
    "total_price": 6000,
    "shipping_price": 1000
}

About

This repository contains the project that we will make in the Software Engineering course as well as being a backend in making buying and selling application projects and top up accounts which we named "Gamevor". This backend is made using the PHP programming language with the Laravel framework.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •