silent-voice-api

๐Ÿค Silent Voice API

A RESTful API that bridges the communication gap for people with hearing and speech impairments โ€” converting sign language gestures and voice audio into accessible digital content.


๐Ÿ“– About the Project

Silent Voice is a graduation project API built to assist individuals who are deaf, hard of hearing, or speech-impaired. The system provides:


๐Ÿ“„ API Documentation

Interactive API docs powered by Scalar (OpenAPI 3.1):

๐Ÿ”— silentvoice.runasp.net/scalar

Download the OpenAPI spec directly from the docs page (JSON or YAML format).


๐Ÿงฉ API Modules

Module Description
Auth Register, login, email OTP confirmation, Google login, forgot/reset password
Sign Save sign language data, view history, delete records
Voice Upload & transcribe audio, manage transcription history, stream audio files

๐Ÿ›  Tech Stack

Layer Tool
API ASP.NET Core Web API
Documentation Scalar (OpenAPI 3.1)
Authentication JWT + OTP via Email + Google OAuth2
AI / ML Speech-to-text transcription model
API Testing Postman
Automated Testing Newman + HTML Extra Reporter
Deployment runasp.net

๐Ÿงช Testing with Newman

Prerequisites

Make sure you have Node.js installed, then run:

npm install -g newman
npm install -g newman-reporter-htmlextra

Verify installation:

newman --version

โ–ถ๏ธ Run the Collection

newman run "Silent_Voice - v1.postman_collection.json" \
  -e "Environment_Silent_Voice_postman_environment.json" \
  --ignore-redirects \
  --reporters cli,htmlextra \
  --reporter-htmlextra-export newman-report.html \
  --folder "register" \
  --folder "confirm-email-fixed-otp" \
  --folder "login" \
  --folder "forgot-password" \
  --folder "resend-password-reset-otp" \
  --folder "resend-email-otp" \
  --folder "save" \
  --folder "history" \
  --folder "Sign" \
  --folder "Voice"

๐Ÿ“Š View the HTML Report

After the run completes, open the report in your browser:

# Windows
start newman-report.html

# Mac
open newman-report.html

Or simply double-click newman-report.html from File Explorer.


๐Ÿ“Š Test Report

๐Ÿ”— View Newman Test Report