Welcome
Notes
Experience
Products
Experiments
Contact

Juan R Labrada

Categories

Agile
Architecture
Bootstrap Vue
Coaching
Code Generation
Computational Geometry
Design Editor
Design Patterns
Design Principles
Domain Driven Design
Experiments
Leadership
Mindset
Negotiation
NuxtJS
Product Development
Productivity
React
Refactoring
Scrum And XP
Storybook
Test Driven Development
UI Design
VueJS
Vuetify
Web Design

Notes

How to generate schemas from JSON files

Requiring a schema to validate JSON data is a common task.
Usually, you start by simply sending the data to the service. As more data is added, one day dealing with data complexity turns out to be difficult.
So, validating that the data is as expected turns out mandatory.
The simplest way to come up with a first schema to be used for validation is to generate it based on json data.
In this post I present two tools that helps pull off this task very easly.

Design Patterns Code Generation Experiments Product Development Architecture
How to use webpack

Webpack is the best tool to bundle resources for javascript. It makes easy to organize your resources and bundle them into files that are ready for production. Also, it has a very flexible plugin system that extends its functionality beyond its core.

Code Generation Architecture
Switch drawer (click me)
© 2022