EmotiCare / CC-Repository

0 stars 0 forks source link

Cloud Computing

API

  1. Tools & Requirements
  2. Endpoints

Tools & Requirements

Tools

  1. Visual Studio Code
  2. Postman
  3. Google Cloud Platform
  4. Google Identity Platform
  5. Google Compute Engine
  6. Firestore
  7. Cloud Storage

Requirements

  1. Node.js
  2. Express
  3. Python
  4. Flask
  5. JWT Authentication

Endpoints

Authentication

POST http://34.101.52.60:3000/auth/register

Endpoint for user registration auth-regist

POST http://34.101.52.60:3000/auth/login

Endpoint for user login auth-login

POST http://34.101.52.60:3000/auth/logout

Endpoint for user logout auth-logout

GET http://34.101.52.60:3000/user/:id

Endpoint to retrieve user details by ID user-id

Mood

POST http://34.101.52.60:3000/mood/create/yyyy-mm-dd/:mood

Endpoint to create a mood entry for a specific date (yyyy-mm-dd) with a specified mood post-mood-date

PUT http://34.101.52.60:3000/mood/update/yyyy-mm-dd/:mood

Endpoint to update the mood entry for a specific date (yyyy-mm-dd) with a new mood put-mood-date

GET http://34.101.52.60:3000/mood/yyyy-mm-dd

Endpoint to retrieve the mood entry for a specific date (yyyy-mm-dd) get-mood-date

GET http://34.101.52.60:3000/mood/get/all

Endpoint to retrieve all mood entries

get-mood-all

Photo

POST http://34.101.52.60:3000/photo/upload

Endpoint to upload a photo profile

GET http://34.101.52.60:3000/photo/get

Endpoint to retrieve photos

Predict

POST http://34.101.52.60:5000/predict

Endpoint to make predictions for ChatBot predict-request predict-response