Appearance
Overview
Codedraw comes with a prebuilt generic template. The template includes:
- A
workeras your main backend - A
MongoDBas the main data storage - Access to an
assetsR2 bucket - Access to a
storeKV namespace - The following endpoints:
GET /api/core/document/:sriPUT /api/core/document/:sriDELETE /api/core/document/:sriPOST /api/core/document/:sriPOST /api/core/assets/uploadPOST /api/core/assets/get
The template allows you to use validators and overrides to customise your backend with a simple function and no more router and middleware wiring necessary.
The template is suited for simple use cases but it allows to be extended to cater for your application needs. To give you an example of what's achievable Codedraw has been built using the generic template implementation.