This verion contain break change:
- Now the routes are be registered using `.py` file.
- To standardize the application the `mvc_flask` extension just work with app directory
- You can register routes based in methods: `GET`, `POST`, `UPDATE` and `DELETE`
- we no longer support to `routes.json` file.
To register routes you can use the `routes.py` inside `app directory` and the file must contain the import `Router` object, The Router object must be used to register the routes. You can use `GET`, `POST`, `UPDATE` and `DELETE` methods to register routes. E.g:
python
from mvc_flask import Router
Router.get("/", "homeindex")
Router.get("/hello", "homehello")
Router.post("/messages", "messagescreate")
Router.put("/users/<id>", "usersupdate")
Router.delete("/users/<id>", "usersdelete")