This is a sample Express based app that will proxy requests from the ConnectWise Manage and ConnectWise Automate APIs using connectwise-rest package.
- Clone repository
- Run
npm install
- Copy
.env.example
to.env
and adjust values as needed. - Run
npm run start
to start the application.
This repository is configured with developer friendly tools like eslint and hot reload.
Run the application in development mode with npm run dev
GET /api/cw/time/charge-codes
Returns a JSON array of time entry charge codes
This application utilizes basic authorization against the specified ConnectWise Automate server. See auth.js
as an example.