How to host dynamic website which uses MongoDB, Node, Stripe (since Github Pages won't work?) - mongodb

Thus far I have enjoyed Github Pages for putting up my webpages and projects online where others can view and interact with them. This is also handy for displaying and linking to things I've worked on in my portfolio.
My newest project, a tutorial on building shopping cart with thorough functionality, involves Node.js, Express.js, MongoDB, Passport.js, Stripe.js.
Link to Shopping Cart Repository
The gh-pages version of the site: Github Pages version of the repository gives a 404 Error. As I understand, because this involves interacting with a server (MongoDB and Node), this is a "dynamic page", whereas Github Pages can only host "static pages".
Is there a way that I can have this up and running online so that others can see and interact with it?
If not, is another solution to simply record and post a video of the website in action?
Thank you.

For Node you can use Heroku.com
And for MongoDB I think you can find a free hosted on internet, either you can maybe create a local MongoBD server as local with Node

Related

How crawlable is Ember Cli?

I've been developing my own personal website for some time now, and I noticed that there are absolutely no search results except the Github repo and other related resources.
So, is pre-rendering with ember-prerender or creating some other noJS solution the way to go for Ember.js? Or does Ember CLI handles crawling quite well, but the problem is either in my Project setup or Heroku?
The links posted here are no way in shape or form endorsements, but simply a possible solution to the Ember CLI SEO problem at hand.
Post edited on 3/3/16
Prerender.io
The solution that I tried to use for my website. It allows up to 250 pages to be indexed for free which works perfectly for small websites. Pricing for large website seems fair as the startup tier gets 20k pages for $15 a month.
If you are deploying to Heroku using the heroku-buildpack-ember-cli, then you can quickly set it up because of Pull #41.
Add <meta name="fragment" content="!"> to your index.html
Create an account on Prerender.io to get a token.
heroku config:set PRERENDER_HOST=service.prerender.io
heroku config:set PRERENDER_TOKEN=token
SEO.js
I haven't used it, so I can only say that this one offers 100 snapshots for free...
BroomBone.com
Seems to be more business related. I consider checking out if your website is big enough...

How to deploy Umbraco 7.3.1 without backoffice

Is there a standard way to deploy Umbraco without the backoffice? Some other cmses call this Author / Publish.
I want to configure 2 sites, the public site which does not have a backoffice, and an author site which does have the backoffice. Both of those sites will target the same database, but the author site will only be accessible from within an internal vpn.
The benefit of this approach is security. If there is no backend available on the public site and it is essentially a read only copy of the site it is much harder to hack.
You can deploy the website on one of the servers without the /Umbraco or /Umbraco-client folders which will effectively remove the backoffice. What you're really looking at is a load-balanced scenario. Umbraco 7.3 makes this really easy and there's a fair bit of documentation available.
I would recommend taking a look at the Load Balancing documentation on https://our.umbraco.org/Documentation/Getting-Started/Setup/Server-Setup/Load-Balancing/ - it includes a "recipe" for previous versions along with a good guide on the pitfalls.

Metalsmith and Contenful Sync

I have been using the metalsmith contenful plugin. I am wondering if maybe I have the idea of static site generators wring, but what is the purpose of this if I have to run a build every time something is changed on contentful.
Is there a way to have metalsmith on my server and have a build issued anytime contenful is changed, or is this a bad idea.
What would be recommended for keeping a site in sync with contentful more than just accessing the database with a static site generator.
If you want to automatically keep in sync a static site built using content on Contentful your best option is to use webhooks.
Contentful provides webhooks which can be used for different types of events (publish, editions, etc.).

CMS with built-in A/B testing

I would like to start trying new layouts and visuals on web pages that I manage. So far I am managing all my pages via scripts on my local machine and just upload static html files to a hosting machine; I am happy to set up almost any basic CMS or "static site manager".
What are some CMS (or a more basic platform for managing static html pages) that has built-in support for keeping track of multiple versions of a page and recording a user's flow from age to page?
Wordpress does thas job very well. Also you can use "Google Content Experiments" (aka "Google Analytics Experiments") for FREE, and just add a link to two different versions of your page. For A/B testing google experiments is a PERFECT tool.
How to set-up an A/B experiment read here:
https://support.google.com/analytics/answer/1745216

Chat/message room and forum development using Hippo CMS/portal

I am planning to use Hippo CMS for one of my site development. In this site i need to have following features-
Chat/message room: It should be possible to create different chat/message rooms and allocate users to them. Once user logs in on frontend site, he should be able to see messages posted by other members in that room. also he should be able to post own text messages there. somewhat similar to IRC
Forum: i need to build a forum where users will be able pose articles, etc.
Are these 2 features possible to develop using Hippo CMS / Hippo portal 2?
To answer your 2 questions:
Building a chat room is possible. With a rich and interactive framework like Apache Wicket, in which the cms is mostly built, you can create connections to the Hippo Repository. For examples using wicket and the cms you can check out the demo project located:
http://www.onehippo.org/site-toolkit/getting+started/checkout+demo
You can build a forum pretty well. It is almost like creating a normal HST (Hippo Site Toolkit) site. You define how you want it to be represented in the repository and with some form handling you can store and retrieve the data with the hippo repository.
You can see how for example; comments are handled in our demo project which can be found via our own website.
When you need more (technical) info, please send an email to hippo-cms7-user#lists.onehippo.com. For more general info send me an email at h.keijmel#onehippo.com.
Regards and good luck,
Hans Keijmel