Create an Empty Zontroy Project using menu File -> New Project -> Create (Empty Zontroy Project).
Add a zsif file into the project
Name the file as PrivateRoutes.tsx.zsif or anything you want and click Add File
Open newly created zsif file, write the code provided above as an example and save it.
Click blue generate button and see the output
Good to know:In daily programming, routing, object mapping, dependency injection and context management are sample concepts which for using a single code file.