Admin Panel
हर published Proyecta app एक admin panel के साथ आती है — एक private, sign-in-gated back office जहाँ आप बिना code छुए अपना content और form submissions manage कर सकते हैं।
आपकी app का public चेहरा बिल्कुल अनोखा और brand-specific होता है। उसके पीछे, हर app को वही boring-but-essential back office चाहिए: content edit करने की जगह, leads review करने की, और रोज़मर्रा का काम चलाने की। Proyecta यह सब आपके लिए schema-driven, template-owned components से बनाता है — ताकि हर app में यह consistent और सही रहे, और आपको AI से CRUD screen बनवाने का इंतज़ार न करना पड़े।
आप क्या manage कर सकते हैं
Section titled “आप क्या manage कर सकते हैं”| Section | यह क्या करता है | Status |
|---|---|---|
| Content | अपने हर collection में entries create, edit, publish और archive करें | Available |
| Form submissions | अपने forms से आई submissions review करें, पढ़ा हुआ mark करें, और archive करें | Available |
| Commerce orders | अपने storefront के orders review और fulfil करें | Available |
| Members / users | अपनी app में sign in करने वाले लोगों को और उनकी roles को manage करें | Available |
आपको कौन-से sections दिखेंगे यह इस पर निर्भर करता है कि आपकी app क्या करती है — panel आपकी app की live shape पढ़ता है और सिर्फ़ वही render करता है जो लागू होता है। जिस app में कोई storefront नहीं है, उसमें Orders section भी नहीं होता।
कौन अंदर जा सकता है
Section titled “कौन अंदर जा सकता है”Admin RBAC-gated है। इसे देखने के लिए visitor को admin account से sign in होना ज़रूरी है — हर admin action server पर enforce होता है, सिर्फ UI में छुपाया नहीं जाता।
Admin उस email को मिलता है जिसे आप app बनाते समय designate करते हैं, और उसे identity provider के verified address से match किया जाता है। यह उसे नहीं दिया जाता जो सबसे पहले sign in करता है — एक सामान्य app में बाकी सब, पहले visitor समेत, एक ordinary user के तौर पर sign in करते हैं। sign in कैसे काम करता है और roles कैसे assign होती हैं, यह जानने के लिए देखें Users & Auth।
Building blocks
Section titled “Building blocks”Panel template-owned components से मिलकर बनता है। इन्हें आप नहीं लिखते — ये हर app का हिस्सा होते हैं — लेकिन मुख्य components को जानना उपयोगी है:
| Component | यह आपको क्या देता है |
|---|---|
CollectionManager |
एक collection के लिए पूरी admin screen: एक searchable, sortable list और एक auto-generated create/edit form। हर collection के लिए एक। |
SubmissionsInbox |
forms inbox: New / Read / Archived tabs, एक unread badge, और हर submission का detail view। |
AdminShell |
सब कुछ के इर्द-गिर्द का frame — एक collapsible sidebar और top bar जो सभी sections को एक साथ जोड़ता है। |
CollectionManager: आपके schema से auto CRUD
Section titled “CollectionManager: आपके schema से auto CRUD”CollectionManager किसी collection का schema पढ़ता है और लगभग बिना hand-written code के पूरा editing experience बना देता है:
- आपकी entries को एक table में list करता है जिसमें status badge, search, और एक New button होता है।
- Form auto-generate करता है हर field के type से — text fields, inputs बनते हैं, long text textarea बनती है, numbers, number inputs बनते हैं, on/off values, switches बनती हैं, choice fields, dropdowns बनती हैं, dates, date pickers बनती हैं, references, linked collection पर picker बनती हैं, और image fields को upload button मिलता है (media-library picker और paste-a-URL fallback के साथ)।
- पहले draft के रूप में save करता है — publishing एक अलग, explicit action है, ताकि कुछ भी गलती से live न हो जाए। आप किसी entry को unpublish या archive भी कर सकते हैं (archive एक soft delete है — यह app और panel से गायब हो जाता है लेकिन नष्ट नहीं होता)।
- One-off content को भी handle करता है: singleton collections (जैसे आपकी business info) form को सीधे render करती हैं, बिना list के।
Editing सच में no-code है: आप (या जिसे भी आप admin बनाएँ) panel से शब्द, कीमतें, फ़ोटो, और समय बदलें, publish करें, और live app अपडेट हो जाती है।
Note: Commerce products को commerce tools से manage किया जाता है,
CollectionManagerमें नहीं — भले ही catalog, content है। देखें Commerce।
Admin कैसे बनता है
Section titled “Admin कैसे बनता है”आपको इसे माँगना नहीं पड़ता, और AI इसे hand-roll भी नहीं करता। Panel एक self-configuring “standing admin” है: हर app के template में baked एक fixed /admin, जो आपकी app का live content schema और capability configuration पढ़ता है और खुद को render करता है — बिना किसी AI wiring के। बाद में एक नया collection जोड़ें और वह अपने आप दिखने लगेगा, बिना किसी rebuild के।
Content और form submissions के अलावा, sections उसी के लिए आते हैं जो आपकी app असल में करती है — orders और returns, bookings और scheduling, members और roles, एक media library, email और push। आपको वही मिलते हैं जो आपकी app पर लागू होते हैं, और जो लागू नहीं होते वे नहीं मिलते।
चूँकि यह template-owned है, यह हर app में consistent और सही रहता है, और जब AI आपके public pages edit करता है तब भी यह न तो drift होता है, न टूटता है। अगर बाद में आप console में ही कोई बदलाव चाहें, तो बस कह दीजिए — वह एक explicit edit है, ऐसा कुछ नहीं जो पहला build अपने आप improvise कर दे।
Common patterns
Section titled “Common patterns”Admin panel खुद माँगने की कभी ज़रूरत नहीं — यह हर app के साथ आता ही है, और नए collections उसमें अपने आप दिखने लगते हैं। AI से माँगने लायक चीज़ें ये हैं:
"Add a 'featured' toggle to my services so I can choose what shows on the homepage."— नए fields admin में अपने आप आ जाते हैं।"Make the headline and hours on my homepage editable from the admin."— hardcoded copy को content में ले आता है।"Build me a back-office page showing this week's bookings at a glance."— उन्हीं building blocks से बना एक bespoke page।
संबंधित
Section titled “संबंधित”- Content Management — वे collections और entries जिन्हें admin edit करता है।
- Forms — submissions inbox का source।
- Users & Auth — sign in कैसे काम करता है और admin role कैसे दी जाती है।
- Commerce — अपना catalog और orders manage करें।