Title: Best practices for theme development using JSON REST API
Last modified: August 21, 2016

---

# Best practices for theme development using JSON REST API

 *  [Amit](https://wordpress.org/support/users/obvio/)
 * (@obvio)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/best-practices-for-theme-development-using-json-rest-api/)
 * Hi,
 * what would be the best/recommended setup if I’d like to use this plugin to power
   JavaScript site/app front-end?
 * 1. standard theme directory and pages, each page representing a route in the 
   site/application (page-template) with its own call to the api?
 * 2. or a front-end in the root of the WordPress installation, using a router (
   eg. backbone’s)?
 * Thanks!
 * [http://wordpress.org/plugins/json-rest-api/](http://wordpress.org/plugins/json-rest-api/)

The topic ‘Best practices for theme development using JSON REST API’ is closed to
new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/json-rest-api_2e3641.svg)
 * [WP REST API (WP API)](https://wordpress.org/plugins/json-rest-api/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/json-rest-api/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/json-rest-api/)
 * [Active Topics](https://wordpress.org/support/plugin/json-rest-api/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/json-rest-api/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/json-rest-api/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Amit](https://wordpress.org/support/users/obvio/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/best-practices-for-theme-development-using-json-rest-api/)
 * Status: not resolved