To start creating templates, go to workstation.justprintit.ai and register/login. Once logged in, navigate to workstation.justprintit.ai/template
Templates can be generated for various component logic. In the example, I create a registration form. The registration form is generated with useState() hooks and form validation fields. Here is the prompt I used.
Name: RegisterForm
Div Class: container register-form
Create a form with the fields
name
password
confirmPassword
You can also design server actions and api routes with the Template tool. In this example, I create a new registration action to create a new account. The server actions and api routes reference the prisma.schema to design the action or route. Here is the example prompt I used.
Create a new account
Call the action RegistrationAction