nocobase icon indicating copy to clipboard operation
nocobase copied to clipboard

Project/app templates for easy quickstart

Open rgembalik opened this issue 1 year ago • 1 comments

Proposal

It would be super helpful, if nocobase had an option to create following items from one template:

  • Related models
  • Sample data
  • UI pages for viewing and editing
  • block templates

Having this done as an onboarding step upon first login would even be better. Finally, saving existing app (assuming multi-app plugin) as ready-to-go template file, would encourage users to share their solutions. Very similar thing happens in Fibery and it helps getting started, and learning, as you can explore configuration of imported models and UI.

Examples:

  • Create simple task management app with kanban view and ability to edit tasks. It would be nice to have report page as well
  • Create simple inventory management models with proposed UI
  • Create simple blogpost model with viewing and editing

Motivation

Even as an experienced tech/dev person, I find exploration of nocobase extremaly difficult after first launch. Upon starting docker compose, I pretty much end up with blank space with no guides what to do next. Having one-click "Create sample XXX" will speed up onboarding and help highlight certaing fields and UI elements in useful scenarios.

Challenges

  • Handling cleanup after someone tries the project template and decides it is not for them
  • Handling overlap and overrides between imported template and existing models/ui
  • Handling names & ids in a way, that prevents duplication, and allows import of multiple templates into one app/data space

rgembalik avatar Feb 18 '25 11:02 rgembalik

Hi @rgembalik, Thank you very much for your suggestion. This is something we've been wanting to do. We will think about how to lower the entry barrier soon.

zhouyanliang avatar Mar 19 '25 23:03 zhouyanliang