Skip to content

this is just some example work with express and some apartment stuff

Notifications You must be signed in to change notification settings

bhayanak/apartment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Apartment

This project contains file to generate pdf receipts of apartment members.

Prerequisite:

  • Node js with npm installed.
  • Download dependency bu running npm i
  • Create json with data for apartments
    • format is attached as excel sheet in data folder, fill data.
      • cash: if amount is paid through cash.
      • bank: If amount paid through bank transfer, fill neft/imps/upi id here.
    • save file as csv
    • convert it to json from csv2json
    • Download this json file and place it to data folder.
  • Good to start now.

How to run:

  1. run project with command: npm start
  2. run post call on below url using postman or any rest client: http://localhost:3000/generateall
  3. Check if post returns success and pdfs are generated in receipts folder
  4. Hashes(sha256sum) will be also generated with flat-numbers and pdf filenames in data folder as filename -.json . This file is used when someone else generates PDF or tries to forge/edit PDF.

😄 😄

About

this is just some example work with express and some apartment stuff

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published