This repository has been archived by the owner on Nov 12, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Back end
Breno Calazans edited this page Jun 8, 2014
·
2 revisions
The back-end of the application render the templates, serves a REST API and uses the Open-Transactions library.
This modules are the only modules that can use the app/otapi/otapi.py
(Open-Transactions API/library). Today they consist in:
- Account
- Asset
- Nym
- Server
- Transaction
- Wallet
Where? app/resources/
They use the resources modules to render the templates and with that generate the pages.
Where? app/controllers
This module simplifies some tasks consolidating the results of two or more functions from the resources modules. It serves a JSON interface.
Where? app/facade/
If you willing to develop a Javascript application, this will make your like easy. All the resources functions are mapped to a RESTful route.
Where? app/resources/
In the next section we'll go deep into the REST API.