Skip to content

mediaopt/avalara-commercetools-connector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

commercetools logo
avalara logo

This is a connect application to integrate Avalara Tax calculation and Reports services into Commercetools. It follows the folder structure to ensure certification & deployment from commercetools connect team as stated here.

Instructions

  • cd avalara-commercetools-connector/service or cd avalara-commercetools-connector/event
  • run yarn to install the dependencies
  • insert commercetools credentials to .env file
  • run ./bin/ngrok.sh or ngrok http 8080 to start ngrok and insert the dynamic url in the .env file as specified in post-deploy script
  • run yarn connector:post-deploy to register the extension with the public ngrok url
  • run ỳarn start:dev to build the application

Architecture principles for building an connect application

  • Connector solution should be lightweight in nature
  • Connector solutions should follow test driven development. Unit , Integration (& E2E) tests should be included and successfully passed to be used
  • No hardcoding of customer related config. If needed, values in an environment file which should not be maintained in repository
  • Connector solution should be supported with detailed documentation
  • Connectors should be point to point in nature, currently doesnt support any persistence capabilities apart from in memory persistence
  • Connector solution should use open source technologies, although connector itself can be private for specific customer(s)
  • Code should not contain console.log statements, use the included logger instead.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages