Hi everyone,
I’m working on an Express.js application (with EJS templates) and I have a requirement to build forms dynamically using JSON schema.
I’m aware of react-jsonschema-form (RJSF), but it’s React-based and not suitable for my current setup since I’m not using a frontend framework.
Currently, I’m generating forms manually by looping through a JSON schema in EJS, but I’m looking for a more structured or library-based approach that can:
Generate form UI from JSON schema
Support basic validation
Work with server-side rendering (Express/EJS)
Ideally reduce manual template logic
Is there any library or approach in the Express ecosystem that provides functionality similar to RJSF?
Or is building a custom solution (schema + EJS + validation like Ajv) the recommended approach?
Would appreciate any suggestions, best practices, or examples.
Thanks!
Hi everyone,
I’m working on an Express.js application (with EJS templates) and I have a requirement to build forms dynamically using JSON schema.
I’m aware of react-jsonschema-form (RJSF), but it’s React-based and not suitable for my current setup since I’m not using a frontend framework.
Currently, I’m generating forms manually by looping through a JSON schema in EJS, but I’m looking for a more structured or library-based approach that can:
Generate form UI from JSON schema
Support basic validation
Work with server-side rendering (Express/EJS)
Ideally reduce manual template logic
Is there any library or approach in the Express ecosystem that provides functionality similar to RJSF?
Or is building a custom solution (schema + EJS + validation like Ajv) the recommended approach?
Would appreciate any suggestions, best practices, or examples.
Thanks!