Skip to content

Latest commit

 

History

History
86 lines (37 loc) · 1.81 KB

README.md

File metadata and controls

86 lines (37 loc) · 1.81 KB

notesTwilio

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.

Features

  • 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.

Prerequisites

Before running the application, ensure you have the following prerequisites installed:

Installation

  1. Clone the repository:

git clone https://github.com/Akxai/notesTwilio.git

  1. Install the dependencies:

npm install

  1. 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.

Usage

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.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgements