# How to use custom back end model with Genie MVC app?

**URL:** <https://discourse.julialang.org/t/how-to-use-custom-back-end-model-with-genie-mvc-app/85257>\
**Category:** Web Stack\
**Tags:** question, package, genie\
**Created:** [August 3, 2022, 6:45pm UTC](https://discourse.julialang.org/t/how-to-use-custom-back-end-model-with-genie-mvc-app/85257 "2022-08-03T18:45:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jack\_N](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jack_n/32/37265_2.png) [@Jack\_N](https://discourse.julialang.org/u/Jack_N)\
**Post date:** [August 3, 2022, 6:45pm UTC](https://discourse.julialang.org/t/how-to-use-custom-back-end-model-with-genie-mvc-app/85257/1 "2022-08-03T18:45:47Z")

</div>

I am trying to use Genie to create a MVC structured web application, but I have not figured out how to include something other than a database retrieval system for the model.

I have read the entire documentation and the standard procedure seems to connect the controller to a database which serves as the model via searchlight. However, I have implemented my own custom model which does calculations rather than simple database retrieval, and then returns its desired output.

What is the proper way to include a totally custom model in a Genie MVC application?

Which directory should it go in and how can I connect it to the controller?
