next-drupal
                                
                                 next-drupal copied to clipboard
                                
                                    next-drupal copied to clipboard
                            
                            
                            
                        Using a fake JSON API to test components and allow decoupled design
I am wondering if we could use a fake JSON API like json-server with this project so we test the components without a Drupal backend as also as allow frontent designers to create components in a decoupled way.
- Does this make sense?
- Do the "Basic Starter" components support this or they are strongly tighten to the Drupal JSON API?
- What other options exist to allow API mocking for "free-of-Drupal" components development?
Hmm interesting. I can see this enabling front-end teams to work independently from Drupal. I'll look into this.
I found that https://www.npmjs.com/package/drupal-jsonapi-extractor can be very helpful here. Will give it a try and come back soon.