This app was developed for client prototyping purposes, specifically to interact with the ZOHO API environment and provide a robust backend for managing ZOHO resources and data integrations.
- The Node application updates MongoDB periodically (set to every 12 hours).
- It pulls all data from ZOHO Projects, including all respective tasks.
- The app automatically refreshes the
ACCESS_TOKEN
using theREFRESH_TOKEN
whenever theACCESS_TOKEN
expires (valid for 1 hour). - It provides routes for the frontend application to display project data.
Here is are the step to setup you node server in a development environment:
- install Node.js -> https://nodejs.org/en
- open your application in VS code -> https://code.visualstudio.com
- install mongoDB server or use mongoDB Atlas -> https://www.mongodb.com
- open a VS CODE terminal (control+`)
- type 'npm install' this will install any missing Node modules
- type 'npm start' to run the server locally, you should see on your terminal a [nodemon] log and other log thats normal
- if you see : """ Server is running on port 3000 MongoDB connected New Access Token has been generated """ The application is running succesfully.
If you require more connection to ZOHO API, you will need to create a new connection or modify the existing one to include any other ZOHO application you may want to add in your pull scope.
Here is the video I used to setup the connection: https://youtu.be/tUj9twM_Klo Its a bit weird but it works.