# Set a service for JSON File

**URL:** <https://community.dreamfactory.com/t/set-a-service-for-json-file/2764>\
**Category:** REST API\
**Created:** [May 28, 2016, 4:10pm UTC](https://community.dreamfactory.com/t/set-a-service-for-json-file/2764 "2016-05-28T16:10:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![voyager1302](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/voyager1302/32/717_2.png) [@voyager1302](https://community.dreamfactory.com/u/voyager1302)\
**Post date:** [May 28, 2016, 4:10pm UTC](https://community.dreamfactory.com/t/set-a-service-for-json-file/2764/1 "2016-05-28T16:10:33Z")

</div>

I have a Large JSON file which I want to use the REST API on it.  
Appreciate any directions. Thanks

---

<div class="post-metadata">

**Author:** ![juniorconte](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/juniorconte/32/1007_2.png) [@juniorconte](https://community.dreamfactory.com/u/juniorconte)\
**Post date:** [May 29, 2016, 11:49am UTC](https://community.dreamfactory.com/t/set-a-service-for-json-file/2764/2 "2016-05-29T11:49:45Z")

</div>

Hello,

You can place the data in this file in some database like MongoDB or CouchDB? If you can do this, you can take advantage of the API automatically generated by DF.

Depending on how your file is structured, you might use [https://github.com/typicode/json-server](https://github.com/typicode/json-server) to expose an API rest of your file, and connects it to DreamFactory through a service like "Remote Web Service ".

Or perhaps create a “Custom Scripting Service” in Node and use [https://github.com/typicode/lowdb](https://github.com/typicode/lowdb) to access your JSON file in a more personalized way.

Best regards,  
Junior Conte
