Skip to content

agrc/turn-gps-billpay

Repository files navigation

TURN GPS Bill Pay

Push Events

What is TURN GPS Bill Pay

Runs on the Trimble Pivot Platform

TURN GPS is a statewide network of permanently located GPS receivers, which provides both real time corrections and data for post processing to those that have an active subscription.

This site allows users to pay for their annual subscription.

What is this repo

Website and endpoints for TURN GPS Bill Pay

Database

SQLServer

Development

.env and .secret

Root directory

Add .env using .env.template as a template

functions directory

Add .env.local using .env.local.template as a template

Add .secret.local file with this template SECRETS='{"govpay": {"apiKey": "xxx", "url":"xxx"}, "trimble": {"url": "xxx"}, "database": {"server": "xxx", "user": "xxx", "password": "xxx" , "name": "xxx"}}'

Initial setup steps

See google doc

Govpay / FINET / DTS Billing

  • This app sends order number, item name and description to GovPay
  • The user makes a payment to GovPay
  • GovPay sends export to DTS billing
  • DTS billing reconciles the item name or description to a vendor in FINET
    • FINET State Warehouse "Vendor_Customer" table, Legal_Name or Company_Name
  • This app/trimble has an organization and login name
  • The "Customer Name" DTS billing refers to is the organization name not login name

Run locally

  1. npm install
  2. firebase login
  3. npm run dev
  4. Once everything is loaded, navigate to http://localhost:5173/