fotografia
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

Tripetto

Tripetto is a full-fledged form kit. Rapidly create and deploy smart flowing forms and surveys. Drop the kit in your codebase and use all of it, or just the parts you need. The visual editor is for form creation, the collector for response collection and the SDK for developing more form building blocks.

Boilerplate for creating blocks

Status Styled with prettier Docs Spectrum

Perhaps one of the best things about Tripetto is that you can create your own building blocks. This boilerplate shows you how to do that. Use it as a starting point for your creativity.

Get started

  1. Download or clone the repository to your local machine:
$ git clone https://gitlab.com/tripetto/blocks/boilerplate.git
  1. Run npm install inside the downloaded/cloned folder:
$ npm install
  1. Start the editor and load the block in developer (test) mode:
$ npm test

This command will start the local editor server and tries to open the URL http://localhost:3333 in your default browser. If no browser opens, just open the browser of your choice and navigate to this URL. By default the form definition located at ./test/example.json is loaded.

Next, open your favorite code editor/IDE and start working on your block. When a source code change is detected, the block should automatically recompile and the Tripetto editor in the browser should refresh.

Publish your block

When your block is done, you may want to publish it. Make sure you update the name and description in package.json before doing so. Also set the private property to false (currently it is set to true to preserve unwanted publication).

Next, run the following command to increment the package version number, do a production build and publish the package to the npm registry.

$ npm run publish:patch

When your block is published, other people can install it and start using it inside the Tripetto editor. All details on how to do that can be found here.

Documentation

The complete documentation can be found at docs.tripetto.community.

Detailed blocks documentation is found here.

Support

Run into issues or bugs? Report them here and we'll look into them.

For general support contact us at support@tripetto.com. We're more than happy to assist you.

License

Have a blast. MIT.

Community

We hope other enthusiasts will also start to develop and share collectors and blocks for Tripetto. We have a repository where we collect a list of community driven blocks and collectors. Did you build something? Submit a PR and add yours to the list. We appreciate it!

About us

If you want to learn more about Tripetto or contribute in any way, visit us at Tripetto.com.

Package Sidebar

Install

npm i fotografia

Weekly Downloads

0

Version

2.0.0

License

MIT

Unpacked Size

12.1 kB

Total Files

5

Last publish

Collaborators

  • jdelarosa36