20
loading...
This website collects cookies to deliver better user experience
ReactSpeechRecognition
npm library for implementing the voice to text functionality. We also used JavaScript's inbuilt speechSynthesis
module for text to voice conversions. We chose to usereactJS
as our frontend library since it offers quick state refreshes and component based approach. We used fontawesome
icons for implementing icons on the user interface. We also wrote our custom CSS
for designing the home page with the best possible User Interface for users.deployment.yaml
file -apiVersion: apps/v1
kind: Deployment
metadata:
name: speech-companion
spec:
replicas: 2
selector:
matchLabels:
app: speech-companion
template:
metadata:
labels:
app: speech-companion
spec:
containers:
- image: prajwalj27/speech-companion
name: speech-companion
service.yaml
file -apiVersion: v1
kind: Service
metadata:
name: speech-companion
labels:
app: speech-companion
spec:
ports:
- name: "speech-companion"
port: 3000
selector:
app: speech-companion
ingress.yaml
file -apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
kubernetes.io/ingress.class: traefik
labels:
app: speech-companion
name: speech-companion-ingress
spec:
rules:
- host: speech-companion.ae150322-a780-4657-a1e0-604a842c2fc0.k8s.civo.com
http:
paths:
-
backend:
service:
name: speech-companion
port:
number: 3000
path: /
pathType: "Prefix"