Categorygithub.com/ariashabry/TechnicalTest
repositorypackage
0.0.0-20230627022037-2739d9d2d07f
Repository: https://github.com/ariashabry/technicaltest.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# README

TechnicalTest Golang K-Style Hub

Name : Aria shabry ([email protected])

Setting Environtment

  1. Update your environtment at env.yaml file like DB_Host, DB_PORT, DB_NAME, and etc.
  2. If your environtment error, please check env.yaml file and ConnectionString at ./helpers/env/env.go
  3. Database Name = skincare
  4. Import Database using skincare.sql file
  5. Application address : http://localhost:5000/api/

Answer

  1. Insert data ke tabel Member
{
    "Username": "Puan Maharani",
    "Gender": "perempuan",
    "SkinType": "normal",
    "SkinColor": "light" 
}
  1. Update data tabel Member
{
    "Username": "Puan Maharani",
    "Gender": "perempuan",
    "SkinType": "oily",
    "SkinColor": "light" 
}
  1. Delete data tabel Member
  1. Select all tabel Member
  1. Select product by ID_PRODUCT
  1. Insert Like Review
{
    "IdReview": 2,
    "IdMember": 1 
}
  1. Delete Cancel Like Review
{
    "IdReview": 2,
    "IdMember": 1 
}

Jika ada pertanyaan, silahkan hubungi saya di : [email protected]