Petstore-nodejs

The Petstore-node.js component is a component template that provides a first development step for creating a component to deploy into Connect.

This component comes with a basic architecture that Connect can use, which can be cloned and used.

File Structure

The petstore-component-nodejs component provides a flexible structure. Connect expects only two files to be present in the main directory:

  • component.json and

  • package.json.

Read the Node.js code component documentation for more information about these files and their functions.