Support to add Your Own DB #100
-
Hi Case Community, Love the implementation of BaaS in Case. I'm a Dev and I like to have control of how to name the routes and use existing tables to create entities in Case and allow my non-dev internal team with correct rights to update the models from the UI and filter the data that is required in the API. Is it something that is in the pipeline? And If it is can I also be involved in it? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hello @vinaayakha, Thank you for your message ! I am going to answer each topic individually:
@Entity({
slug: "my-custom-slug"
}) By default, the slug in the "pluralized" name of the entity class name (REST convention)
|
Beta Was this translation helpful? Give feedback.
Hello @vinaayakha,
Thank you for your message ! I am going to answer each topic individually:
Routes are based upon entity slugs, that you can edit in the entity files passing entity params to the
@Entity()
decorator. Ex:By default, the slug in the "pluralized" name of the entity class name (REST convention)
Import DB
Not implemented. It is kind of harsh as every DB has its own specs. CASE uses TypeORM and someone made a package for this (not tested). The result should be close to what we have in CASE
Visual structure editing
This feature is not planned to be implemented in the future. CASE's approach is "pro-code", which gives adv…