Skip to content

Mageiras-C241-PS325/cc-refrigerator-api

Repository files navigation

Mageiras (Cloud Computing)

Cloud computing side of Mageiras by team C241-PS325

Table of Contents

Cloud Computing Team

Name Bangkit ID
Radhiyan Muhammad Hisan C004D4KY0679
Ridwan Faisal C299D4KY0177

Description

Utilize JavaScript’s runtime Node.js with HAPI framework for the web server for the API. Before deployment, Postman is used for testing. App Engine to deploy the application and Cloud Storage to store the data. Lastly, the authentication uses Firestore and Firebase

Tools and Resources

  1. Node.js
  2. HAPI framework
  3. Postman
  4. Firestore
  5. App Engine
  6. Cloud Storage

Endpoint

Endpoint Method Body Request (JSON) Body Response (JSON)
/login POST email, password status, message
/register POST email, password, username status, message, token
/logout POST email, password status, message
/predict POST base64 ingredients
/ingredients/add POST user_id, ingredient_name, amount status, message
/ingredients GET user_id ingredient_name, amount
/ingredients/{ingredient_id} GET user_id, ingredient_id ingredient_id, ingredient_name, amount
/ingredients/amount/{ingredient_id} PUT user_id, ingredient_id, amount status, message
/ingredients/{ingredient_id} DELETE user_id, ingredient_id status, message
/ingredients DELETE user_id status, message

Architecture

About

API for Mageiras' digital refrigerator feature

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages