# How to host a react application on Cumulocity IoT

**URL:** <https://community.cumulocity.com/t/how-to-host-a-react-application-on-cumulocity-iot/514>\
**Category:** Forum\
**Tags:** cumulocity\
**Created:** [February 7, 2023, 9:36am UTC](https://community.cumulocity.com/t/how-to-host-a-react-application-on-cumulocity-iot/514 "2023-02-07T09:36:31Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Tristan\_Bastian](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/tristan_bastian/32/18259_2.png) [@Tristan\_Bastian](https://community.cumulocity.com/u/Tristan_Bastian)\
**Post date:** [February 10, 2023, 1:33pm UTC](https://community.cumulocity.com/t/how-to-host-a-react-application-on-cumulocity-iot/514/7 "2023-02-10T13:33:45Z")

</div>

Hi Samanyu,

I’ve just tested it with this react sample application: [GitHub - andrewagain/emoji-search: Simple React app for searching emoji](https://github.com/ahfarmer/emoji-search)  
I’ve had to adapt the `homepage` attriubute of the `package.json` to `/apps/emoji-search`.  
After running `npm run build`, I’ve zipped the files contained in the newly created `build` folder and renamed the zip file to `emoji-search.zip`.

This zip file I just had to upload then to the tenant.

Regards,  
Tristan

---

_[View the full topic](https://community.cumulocity.com/t/how-to-host-a-react-application-on-cumulocity-iot/514)._
