Invoice Generator

Project Features Get Data as a JSON response from Google sheets Generate new PDF’s from response data such as invoices or anything you want with your personal template Send Email to each user with there generated PDF via SMTP Server Requirements NodeJs must be installed Google sheet setup as described below in the readme.md to get data Project setup Clone the repository from github via git on your laptop git clone https://github.com/9ovindyadav/invoiceGenerator.git Rename the .env.example file to .env and enter the credentials Before running the script make sure you have entered all the credentials in .env and Google sheet is all set To run the app enter the below command node app.js Google sheet as a API Getting JSON response First row as a key and others as a value Follow below steps to make google sheets as a API steps Create a New Google worksheet with your google accoount Rename Sheet1 as you want Fill the data in the sheet as first row as a heading and others as a values In Extension open App Script Name the App Script as the same name as your worksheet Copy paste the below code in Code.gs file function doGet(req){ var sheetName = 'Your sheet name'; var doc = SpreadsheetApp.getActiveSpreadsheet(); var sheet = doc.getSheetByName(sheetName); var values = sheet.getDataRange().getValues(); var output = []; var keys = values[0]; var data = values.slice(1); data.forEach((item) => { var row = {}; keys.forEach((key, index) => { row[key] = item[index]; }) output.push(row); }) console.log(output); return ContentService.createTextOutput(JSON.stringify({data: output})).setMimeType(ContentService.MimeType.JSON); } Deploy the following code as a New Deployment as a web app Allow Who can access as Anyone Copy the script link and run in browser's address bar Deployment page ...

March 25, 2024 · 2 min · 300 words · Govind yadav

Food order system for Restaurant

The Food order system for Restaurant is a web-based application designed for staff usage in a restaurant. It streamlines order processing, menu management, and administrative tasks for staff working at the counter, in the kitchen, and for administrators. Tech Stack PHP : Server side scripting language for backend development MySQL : RDBMS for managing and storing data Nginx : Web server for serving the PHP application JQuery : JavaScript library for client side scripting Docker : Containerization tech for easy deployment and scaling Deployment The application is deployed and accessible at below URL ...

December 5, 2023 · 2 min · 274 words · Govind yadav

Trekworld

A static website built using js, html and css for a treking community. Deployment The application is deployed and accessible at below URL Trekworld Requirements Browser Project setup Clone the repository from github via git on your laptop git clone https://github.com/9ovindyadav/trekworld.git Open the index.html file in browser Contribuiting Contributions are welcome! If you’d like to contribute to the project. Github Repo Support If you encounter any issue or have questions , please open and issue in the issue section. ...

October 30, 2023 · 1 min · 79 words · Govind yadav