codevideo-adapters
v1.0.0
Published
Adapters for third party services (file system, github, etc.) to connect to the CodeVideo ecosystem.
Maintainers
Readme
codevideo-adapters
Adapters for third party services (file system, GitHub, etc.) to connect to the CodeVideo ecosystem.
Usage - File System Adapter
Start your CodeVideo lesson at with any existing codebase, by providing the path to the folder containing your code:
import { buildFileStructureFromRootFolder } from "@fullstackcraftllc/codevideo-adapters";
const fileStructure = await buildFileStructureFromRootFolder("/path/to/your/codebase");
// use fileStructure in the initialSnapshot of your lesson
Returns a file structure of type IFileStructure from the @fullstackcraftllc/codevideo-types package.
Usage - GitHub Adapter
Coming soon.
