Giter Club home page Giter Club logo

html-to-pdf-nodejs's Introduction

Generate PDF through the HTML content.

Screenshots

  • html-pdf
  • node-fetch
  • requestify
  • izitoast

DATA EXAMPLE

[
  {
    img: "https://bakedpizza.com.co/media/catalog/product/cache/1/small_image/500x500/9df78eab33525d08d6e5fb8d27136e95/h/a/hamburguesa_doble_carne_mex.png",
    name: "Hamburgueza Todo Terreno",
    description: "A description which may flow for several lines and give context to the content."
  },
  {
    img: "https://cdn.discstore.com/media/catalog/product/cache/1/image/1800x/040ec09b1e35df139433887a97daa66f/p/i/pizza-top_2.jpg",
    name: "Pizza de Peperonni y Champignones",
    description: "A description which may flow for several lines and give context to the content."
  },
  {
    img: "https://http2.mlstatic.com/excelentes-taquizas-y-comida-mexicana-D_NQ_NP_751821-MLM25734431910_072017-O.jpg",
    name: "Arroz de Mariscos",
    description: "A description which may flow for several lines and give context to the content."
  },
  {
    img: "http://www.diabetesforecast.org/2014/09-sep/es/cuban-pollo-asado-Sep14-es.jpg",
    name: "Pollo Asado",
    description: "A description which may flow for several lines and give context to the content."
  },
  {
    img: "http://amantesdelacocina.com/cocina/wp-content/uploads/2011/11/arepa2x.jpg",
    name: "Arepa Rellena",
    description: "A description which may flow for several lines and give context to the content."
  },
  {
    img: "https://res.cloudinary.com/civico/image/upload/c_fill,f_auto,fl_lossy,h_500,q_auto,w_500/v1404245583/entity/image/file/003/000/53b3164db9dd5d13ca000003.jpg",
    name: "Picada",
    description: "A description which may flow for several lines and give context to the content."
  },
  {
    img: "http://www.pidaloya.co/wp-content/uploads/2016/09/pechugapollo.jpg",
    name: "Cerdo con papas a la francesa",
    description: "A description which may flow for several lines and give context to the content."
  },
  {
    img: "http://www.pidaloya.co/wp-content/uploads/2016/09/desgra.jpg",
    name: "Mazorca desgranada",
    description: "A description which may flow for several lines and give context to the content."
  }
]
# install dependencies
npm install

Change IP Address

Path: './config/config.js'

'use strict'

const config = {
    ip: '192.168.1.66',
    port: process.env.PORT || 3000
}
Path: './views/js/main.js'

const url = {
    ip: '192.168.1.67',
    port: 3000
}
# start project
npm run dev

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.