Create a Project

One easy way to manage Custom Functions is through HarperDB Studio. You can read more about managing Custom Functions through the HarperDB Studio here.
To manually create a project, you have three options:
  1. 1.
    use the add_custom_function_project operation
    This operation creates a new project folder, and populates it with templates for the routes, helpers, and static subfolders.
"operation": "add_custom_function_project",
"project": "dogs"
  1. 1.
    clone our public gitHub project template
    This requires a local installation. Remove the .git directory for a clean slate of git history.
> git clone https://github.com/HarperDB/harperdb-custom-functions-template.git ~/hdb/custom_functions/dogs
  1. 1.
    create a project folder in your Custom Functions root directory and initialize
    This requires a local installation.
> mkdir ~/hdb/custom_functions/dogs
> npm init
© HarperDB. All Rights Reserved