This repository contains a Node.js project called "notesTwilio" that serves as a platform for managing and storing PDFs and notes related to electronics and communication. It is integrated with MongoDB for data storage and utilizes Twilio for sending messages.
- Upload and store PDFs and notes related to electronics and communication.
- Manage and organize uploaded files.
- Retrieve and view stored files.
- Connect to a MongoDB database for data storage.
- Utilize Twilio API for sending messages.
Before running the application, ensure you have the following prerequisites installed:
- Node.js (version X.X.X) - Download and Install Node.js
- MongoDB - Install MongoDB
- Clone the repository:
git clone https://github.com/Akxai/notesTwilio.git
- Install the dependencies:
npm install
- Configure environment variables:
Create a .env
file in the root directory of the project and add the following environment variables:
MONGODB_URI=your_mongodb_uri TWILIO_ACCOUNT_SID=your_twilio_account_sid TWILIO_AUTH_TOKEN=your_twilio_auth_token TWILIO_PHONE_NUMBER=your_twilio_phone_number
Replace your_mongodb_uri
, your_twilio_account_sid
, your_twilio_auth_token
, and your_twilio_phone_number
with your respective values.
To run the application, use the following command:
node app.js
or
nodemon app.js
Access the application by visiting http://localhost:3000
in your web browser.
This project is licensed under the MIT License. See the LICENSE file for details.