MVC Routes and Controllers architecture with multiple versions using Spark

Asked

Viewed 38 times

1

I am implementing a Rest API in Java using the framework Spark. I need to split the routes into two versions or more: v1 and v2. I know the Spark provides the path(), I believe it is not difficult.

My question is on how to perform folder structure based on MVC template.

Note: I commented on Spark because of the context of the framework I’m using.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.