# Server side rendering when running app in production mode

**URL:** <https://forums.bitovi.com/t/server-side-rendering-when-running-app-in-production-mode/439>\
**Category:** DoneJS\
**Created:** [October 10, 2016, 8:25pm UTC](https://forums.bitovi.com/t/server-side-rendering-when-running-app-in-production-mode/439 "2016-10-10T20:25:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dionesku](https://avatars.discourse-cdn.com/v4/letter/d/cdc98d/32.png) [@dionesku](https://forums.bitovi.com/u/dionesku)\
**Post date:** [October 10, 2016, 8:25pm UTC](https://forums.bitovi.com/t/server-side-rendering-when-running-app-in-production-mode/439/1 "2016-10-10T20:25:48Z")

</div>

Hi,

I’m new to DoneJS and I really like it. However, I’m struggling with something.  
I created and app and added some components and models. Some of the components list some data fetched from an api, through the models.  
When I run the app with donejs develop, the server side rendering works fine and I can see the content rendered in the page (html).

However, if I do a  
donejs build  
and then  
NODE\_ENV=production donejs start  
the app starts, but all the data fetched from the api doesn’t get SSR - I only see the component tag in html, not the content / list of items.  
Is this how it’s supposed to work or am I missing something?  
I mean the whole SSR is more important for production (SEO) rather than devel so I expected it to work out of the box in production mode, not in devel mode.

Thanks! 🙂

---

<div class="post-metadata">

**Author:** ![justinbmeyer](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.bitovi.com/justinbmeyer/32/179_2.png) [@justinbmeyer](https://forums.bitovi.com/u/justinbmeyer)\
**Post date:** [October 11, 2016, 1:27am UTC](https://forums.bitovi.com/t/server-side-rendering-when-running-app-in-production-mode/439/2 "2016-10-11T01:27:10Z")

</div>

This sounds like either a bug or a problem in your code.

Do things work when going through the place-my-order guide?

Can you share your code?

---

<div class="post-metadata">

**Author:** ![dionesku](https://avatars.discourse-cdn.com/v4/letter/d/cdc98d/32.png) [@dionesku](https://forums.bitovi.com/u/dionesku)\
**Post date:** [October 11, 2016, 8:36pm UTC](https://forums.bitovi.com/t/server-side-rendering-when-running-app-in-production-mode/439/3 "2016-10-11T20:36:10Z")

</div>

Hi Justin,

Good idea with the place-my-order guide, thanks for the tip 🙂 It seems indeed that is working as expected.  
So I’m probably doing something wrong in my code.  
I’ll keep digging, but it’s great that it works.
