Hello,
I need to generate static routes based on hierarchical data in a neo4j database.
I have a neo4j database that contains hierarchical data like this:
topic1 <- topic2 <- topic3 <- topic4 <- topic5
topic5 <- question1
topic5 <- question2
topic5 <- question3
topic5 <- question4
I need to have static routes like these:
/topic1/topic3/topic5/question1
/topic1/topic3/topic5/question2
/topic1/topic3/topic5/question3
/topic1/topic3/topic5/question4
How can I achieve this in Astro?
I'd appreciate it if you mention the ways that this is achievable in Astro and elaborate shortly on them.
Thanks