Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jorgeandrespadilla/api-sample-test
API Sample Test: HubSpot Meeting Task
https://github.com/jorgeandrespadilla/api-sample-test
hubspot javascript nodejs
Last synced: 11 days ago
JSON representation
API Sample Test: HubSpot Meeting Task
- Host: GitHub
- URL: https://github.com/jorgeandrespadilla/api-sample-test
- Owner: jorgeandrespadilla
- Created: 2024-12-12T18:18:23.000Z (11 days ago)
- Default Branch: main
- Last Pushed: 2024-12-12T18:28:38.000Z (11 days ago)
- Last Synced: 2024-12-12T19:29:52.103Z (11 days ago)
- Topics: hubspot, javascript, nodejs
- Language: JavaScript
- Homepage:
- Size: 42 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# API Sample Test: HubSpot Meeting Task
## Getting Started
This project requires a newer version of Node. Don't forget to install the NPM packages afterwards.
You should change the name of the ```.env.example``` file to ```.env```.
Run ```node app.js``` to get things started. Hopefully the project should start without any errors.
## Explanations
The actual task will be explained separately.
This is a very simple project that pulls data from HubSpot's CRM API. It pulls and processes company and contact data from HubSpot but does not insert it into the database.
In HubSpot, contacts can be part of companies. HubSpot calls this relationship an association. That is, a contact has an association with a company. We make a separate call when processing contacts to fetch this association data.
The Domain model is a record signifying a HockeyStack customer. You shouldn't worry about the actual implementation of it. The only important property is the ```hubspot```object in ```integrations```. This is how we know which HubSpot instance to connect to.
The implementation of the server and the ```server.js``` is not important for this project.
Every data source in this project was created for test purposes. If any request takes more than 5 seconds to execute, there is something wrong with the implementation.
## Debrief
See [DEBRIEF.md](DEBRIEF.md) for a detailed explanation of how we could improve this project in terms of code quality and readability, project architecture and code performance.