The backend written in Node JS for mobile application which is used to convert handwriting to speech via Machine Learning Library. This application is for the people who are unable to speak, by helping them save their daily conversation in the form of phrases. The server provides authentication via email OTP and JSON Web Token to help the user to secure their data. User can log on to multiple devices and stay logged in for a longer period of time.
To get the Node server running locally:
- Clone this repo
yarn
to install all required dependenciesyarn run dev
to start the local server
The mobile appliction which uses heroku
- Fully secured application via JWT Token
- Login from multiple mobile devices at the same time
- Convert your handwriting to speech and text via machine learning
- Save your daily conversation in the form of categories and dialogues
- Fork it
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -m 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create new Pull Request and rebase it with main
- Add some more cool features.
- Find bugs or errors and fix it.
- Improve UI/UX designs.
- expressjs - The server for handling and routing HTTP requests
- mongoose - For modeling and mapping MongoDB data to javascript
- jsonwebtoken - For generating JWTs used by authentication
- bcryptjs - For hashing passwords
- body-parser - Node.js body parsing middleware
- cors - Node.js package for providing a Connect/Express middleware that can be used to enable CORS with various options
- crypto-js - JavaScript library of crypto standards
- custom-id-new - For generating intuitive string in JavaScript
- debug - Javascript debugging utility modelled after Node.js core's debugging technique
- dotenv - For loading env variables
- morgan - For logging HTTP request in node.js
- nodemailer - For sending mails to user from server
- otp-generator - For generating OTP for user verification
- swagger-autogen - For documenting API
- swagger-ui-express - For documenting API
app.js
- The entry point to our application. This file defines our express server and connects it to MongoDB using mongoose. It also requires the routes and models we'll be using in the application.routes/
- This folder contains the route definitions for our API.models/
- This folder contains the schema definitions for our Mongoose models.middleware/
- This folder contains the middlewares for our application.util/
- This folder contains the utility functions for our application.configs/
- This folder contains the configs for database connectivity.
Incase you face any problem or need any help write me in issues section.