-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
/** * @controller BodyController.post() * @path POST /body * @nestia Generated by Nestia - https://github.com/samchon/nestia */ export async function post( connection: IConnection, body: IBbsArticle.IStore, ): Promise { return !!connection.simulate ? post.simulate( connection, body, ) : Fetcher.fetch( connection, post.ENCRYPTED, post.METHOD, post.path(), body, ); } export namespace post { export type Input = IBbsArticle.IStore; export type Output = IBbsArticle;
If you've experienced frontend development, you may know msw - (Mockup Service Worker). Mockup Simulator of nestia is almost same with it, but of nestia is fully automated. Besides, msw needs to write API interfaces and mockup codes by manually.
If you see actual Mockup Simulator code, then you may exactly understand what it is. Yes, the Mockup Simulator, it's just an internal function returning random data with same type of API interface. For reference, mockup data generation is being done by typia.random() function, which can analyze TypeScript type and generate optimal random generation code in the compliation level.
Related posts
-
I made Swagger/OpenAPI type definitions and converter library
-
I made "TypeScript Swagger Editor", new type of Swagger UI writing TypeScript code in the browser
-
[Typia] I made Protocol Buffer library of TypeScript, easiest in the world
-
Good bye "typescript-is" (ancestor of "typia", 20,000x faster validator)
-
[Nestia] I made backend simulator for frontend developers (similar with MSW, but fully automated)