Skip to content
This repository has been archived by the owner on Nov 12, 2020. It is now read-only.

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.

Resources

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/

Controllers

They use the resources modules to render the templates and with that generate the pages.

Where? app/controllers

Facade

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/

REST API

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.

Clone this wiki locally