Workspace boilerplate

Understanding the workspace boilerplate

After creating a new workspace using the CLI, it will generate a boilerplate that contains the minimum to start writing functions that you can push and publish in the marketplace.

What do you need to know about the folder structure on the workspace?

  • functions folder: contains the folders with the implementation of all your functions, e.g., /functions/myFirstFunction, /functions/mySecondFunction.

  • function implementation folder: contains the implementation code of your function, e.g., /functions/myFirstFunction.

    You can see more detailed information about the structure of each function in the function writing step.

  • workspace.json: contains the info about the workspace.

You can check the github.com/nexxtway/functions.store-learning workspace example on GitHub to see how functions are created in the learning workspace.

Last updated