Skip to content

Capstone-C242-PS225/Cloud-Computing

Repository files navigation

FREE API Documentation

Welcome to our FREE - Financial Resilience and Education for Ex-gamblers! This API allows you to manage accounts, predict levels of online gambling addiction, report online gambling links.

Base URL

MASIH_RAHASIA.com

Application Architecture

Arsitektur Aplikasi

Endpoints

Home

  GET/
    Response: { status: "success", message: "Welcome to our FREE - Financial Resilience and Education for Ex-gamblers!" }

Authentication

  • Signup
  POST /register
Body Type
email string
username string
password string

Response: Sebuah user registration details atau error message.

  • Login
  POST /login
Body Type
username string
password string

Response: Sebuah login details atau login failed details atau error message.

Specific User Data

  • getUser
  POST /getUser
Body Type
email string

Feature

  • Report Link
  PUT /user/report
Body Type
urlJudol string

Message: Link was reported.

  • Online Gambler Predictions
  POST /askPredict
Body Type
newRegister number
transaction_amount number
user_total_cashout number
company_total_cashout number
user_total_balance number

Message: Model is predicted successfully.

  • Get Material Data
  GET /getMateri

Message: All material data has been obtained.

Directory Structure

src
│
├── controllers
│   ├── // controller
│   └── // authController
│
├── config
│   └── // firebase
│
├── exceptions
│   ├── // clientError
│   └── // inputError
│
├── JSON
│   ├── // INI-PENTING
│   └── // INI-PENTING-BRO
│
├── routes
│   └── // apiRoutes
│
├── services
│   ├── // getAdvice
│   ├── // getPredict
│   └── // storeData
│
└── server

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •