Create a Project

For users who prefer to handle project creation manually, you have three options:

 

use the add_custom_function_project operation
This operation creates a new project folder for you, and populates it with templates for the routes, helpers, and static subfolders.

{
    "operation": "add_custom_function_project",
    "project": "dogs"
}

 

clone our public github project template

> git clone https://github.com/HarperDB/harperdb-custom-functions-template.git ~/hdb/custom_functions/dogs

 

create a project folder in your CUSTOM_FUNCTIONS_DIRECTORY

> mkdir ~/hdb/custom_functions/dogs