Create a Project
To create a project using our web-based GUI, HarperDB Studio, checkout out how to manage Custom Functions here.
Otherwise, to create a project, you have the following options:
- 1.Use the add_custom_function_project operationThis 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"
}
- 2.Clone our public gitHub project templateThis 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
- 3.Create a project folder in your Custom Functions root directory and initializeThis requires a local installation.
> mkdir ~/hdb/custom_functions/dogs
> npm init
Last modified 2mo ago