API with different endpoints so that that can be accessed from different location to send the pdf to the actual position where user wants to store.
Make sure you have the following tools installed on your machine:
- Node.js (https://nodejs.org/)
- MongoDB (https://www.mongodb.com/try/download/community)
git clone https://github.com/PrasantaScripts/pdfstore_api.git
After cloning change the directory to the particular directories present into this main directory and install the packages using node
npm install
Make sure you have a MongoDB server running. Create a .env
file in the backend
directory with the following content:
PORT=your_port
DB=your_mongoDB_URL
--to run the file
npm start
*you can configure it according to your choice from package.json
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
Thank you