Tenant Agreement Generator
Simple web for generate & save tenant agreement generator
Installation
Mandatory requirement:
Nice to have:
Setup
After all the dependency is met, then go to the repo and do:
npm install
Make sure the agreements folder have write access for node:
mkdir agreements
chmod 744 agreements
For running the server:
node index.js
Endpoint
This is all the endpoint from this service:
Method | Route | Description |
---|---|---|
Get | / | Main page. Used for filling the generator and upload docx file |
Post | /generate | Generate docx using given post form data |
Post | /upload | Save the file to local server. The uploaded data can be found in agreements folder |