Utilizing node and express, this project serves as a backend handler to the frontend counterpart. In general, this project allows to accelerate the Transportation Compliance Coordinator workflow at clean harbors.
You can follow this project and the Frontend development at Trello.
This server is designed to be used in conjunction with Cleanharbors intrasite and the frontend project, Cleanharbors Frontend. Utilizing injected code on the intrasite, post iframe DVIR data back to this server to be stored and or downloaded in compiled and relevantly named file sets.
This project needs valid environment variables to run, due to implenting the dotenv
npm package. Create a .env
file and have its contents include:
apiUser: UserGoesHere
apiAccessKey: demoAuth
The default login for this server when prompted for by the frontend will be:
user: Livebacteria
password: demoAuth
Using npm start
will start the server.
Please note that this server needs to be running before attempting to connect with the frontend.
- Handling and storing data when deployed to Heroku --
- Sending iframe content as POST data to server --
- Recieving and converting iframe content to be storable and readable on serverside √
- Delay in cloud functionality leading to corrupted zip downloads --
- Utilise Heroku ephemeral storage for html to pdf / image --
- Created and connected Google Firestore Cloud Storage --
- Ability to run locally alongside electron frontend deployment √
- Integrate with Frontend
- Compile and mass-download DVIR
- Weekly Duties solutions: DVIR Tracking, Assigned Vehicle DVIR Tracking
- Merge with Frontend
- Compile and mass-download APR reports
- Compile and mass-download DLOG (Utlizing XSS via Chromium Extension on Telogis Domain)
- Utilize either OCR for ELD pdf data conversion, or convert ELD pdf to readable standard csv / JSON / text String
- Weekly Duties solutions: ELD<->APR Recon
- Copyright Tyler Poore