This generates a simple javascript project with the necessary dependencies for a repo which synchronises over websockets and stores data in the filesystem.
npm create @automerge/repo-node-app <your project name>
yarn create @automerge/repo-node-app <your project name>
Now change into the directory and start editing index.js