Using the bun g command, you can generate one or multiple files simultaneously. The available file types are:
Choose between generating a validation set or a single validation file.
create and update validations.Two options are available for generating service files:
You can generate controllers for either an API or a Full Stack application.
index, show, store, update, and destroy.create and edit alongside the API methods.Generates a factory file based on the specified model name. You’ll need to define the fields to be included in the factory output.
Creates a test file using Supertest and Bun test frameworks.
Generates a file for periodic tasks using node-cron.
Creates a layout file using Nunjucks.
Note: The views module must be installed.
Generates a view file using Nunjucks.
Note: The views module must be installed.