0% found this document useful (0 votes)
3 views3 pages

Implementation Steps

The document outlines the implementation steps for a voice recognition emergency alert system designed for elderly and disabled individuals. It includes creating a backend with necessary packages, setting up a frontend with React, configuring MongoDB, and defining main pages and authentication flow. Additionally, it describes the voice recognition functionality and how to store alerts in the database.

Uploaded by

safeenaaalijohn
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views3 pages

Implementation Steps

The document outlines the implementation steps for a voice recognition emergency alert system designed for elderly and disabled individuals. It includes creating a backend with necessary packages, setting up a frontend with React, configuring MongoDB, and defining main pages and authentication flow. Additionally, it describes the voice recognition functionality and how to store alerts in the database.

Uploaded by

safeenaaalijohn
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

VOICE RECOGNITION EMERGENCY ALERT SYSTEM

FOR ELDERLY AND DISABLED INDIVIDUALS.

IMPLEMENTATION STEPS:

Step – i) Create Backend:


 mkdir server
 cd server
 npm init -y
Install:
npm install express mongoose cors dotenv bcryptjs jsonwebtoken twilio

Step -ii) Create Frontend:


npx create-react-app client
Install:
npm install axios react-router-dom tailwindcss framer-motion

Step -iii) Configure MongoDB:


Create .env
MONGO_URI=your_mongodb_uri

JWT_SECRET=your_secret

TWILIO_SID=your_sid
TWILIO_TOKEN=your_token
TWILIO_PHONE=your_twilio_number
Step -iv) Main Pages:
Frontend Pages
/pages
[Link]
[Link]
[Link]
[Link]

Step -v) Authentication Flow:


After login:
JavaScript:
[Link]("token", token); - Protected routes using JWT.

Step -vi) Voice Recognition:


When Start Button clicked:
[Link]();
When Stop Button clicked:
[Link]();

Step -vii) Alert Storage:


Store alerts:
await [Link]({
userId,
keyword,
detectedText
});

You might also like