Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Organising REST API web service build using Python Eve [closed]

I am trying to build a REST API web service using Python Eve. I have experience in using Lithium (PHP framework) and Ruby on Rails but I am struggling to figure out the proper folder structure to use with Python Eve. Any suggestion on where to put my models and controllers (mostly pre / post hooks).

like image 747
kobra Avatar asked Feb 19 '26 01:02

kobra


1 Answers

Have you looked at the Eve demo source code? Should be enough to get you started. Hooks can then be added to the run.py script, see the documentation. A more complex application (not so much at this point in time) is Adam, still a work in progress though.

like image 169
Nicola Iarocci Avatar answered Feb 21 '26 17:02

Nicola Iarocci



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!