A React-based web application designed to handle and map company and contact properties, working in conjunction with an Express.js backend server.
- What this project does
- Why is this project useful
- Getting started with the project
- Components
- Available Scripts
- Dependencies
- Where to get help
- Who maintains and contributes to this project
- License
This project is a React-based web application designed to handle and map company and contact properties. It works together with a server built using Express.js, refer to the Express.js application repository.
This project simplifies the process of property mapping for companies and contacts.
- Prerequisites
- Start the Express.js server first
2 In the project directory, follow these steps:
- Clone the repository
- Install the dependencies with
npm install
- Start the application with
npm start
- Open
http://localhost:3000
to view the app in your browser. The page will reload if you make edits, and you will also see any lint errors in the console.
- Handles saving mappings via POST requests
- Manages mapping deletion through DELETE requests
- Automatically updates when changes occur to selected properties or sync directions
- Controls data synchronization direction selection
- Supports multiple sync directions: toHubSpot, toNative, and biDirectional
- Enables creation of new properties
- Manages property attributes including label, type, and uniqueness
npm start
- Start the development server using react-scriptsnpm run build
- Create a production build of the applicationnpm test
- Run tests using Jestnpm run test:watch
- Run tests in watch modenpm run test:coverage
- Generate test coverage report
- @babel/core - Babel compiler core
- @emotion/react - CSS-in-JS library
- @emotion/styled - Styled components
- @mui/icons-material - Material UI icons
- @mui/material - Material UI components
- react - UI library
- react-dom - React DOM renderer
- react-scripts - Create React App scripts
- web-vitals - Web performance metrics
- http-proxy-middleware - HTTP proxy middleware
- @types/node - Node.js type definitions
- @types/react - React type definitions
- @types/react-dom - React DOM type definitions
- eslint-config-prettier - Prettier ESLint configuration
- @testing-library/jest-dom - DOM testing utilities
- @testing-library/react - React testing utilities
- @testing-library/user-event - User event simulation
- @types/jest - Jest type definitions
- @types/jsdom - JSDOM type definitions
- jest - Testing framework
- jest-environment-jsdom - JSDOM test environment
- jsdom - DOM implementation
- ts-jest - TypeScript testing support
If you encounter any bugs or issues, please report them by opening a GitHub issue. For feedback or suggestions for new code examples, we encourage you to use this form.
Various teams at HubSpot that focus on developer experience and app marketplace quality maintain and contribute to this project. In particular, this project was made possible by @therealdadams, @rahmona-henry, @zman81988, @natalijabujevic0708, and @zradford
MIT