Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying OPENSHIFT COOKBOOK
  • Table Of Contents Toc
  • Feedback & Rating feedback
OPENSHIFT COOKBOOK

OPENSHIFT COOKBOOK

By : Gulati
3.8 (6)
close
close
OPENSHIFT COOKBOOK

OPENSHIFT COOKBOOK

3.8 (6)
By: Gulati

Overview of this book

If you are a web application developer who wants to use the OpenShift platform to host your next big idea but are looking for guidance on how to achieve this, then this book is the first step you need to take. This is a very accessible cookbook where no previous knowledge of OpenShift is needed.
Table of Contents (14 chapters)
close
close
12
A. Running OpenShift on a Virtual Machine
13
Index

Creating and deploying Express web applications using Node.js and MongoDB cartridges

In this recipe, you will build a Node.js application from scratch using the Express web framework and MongoDB. I have chosen Express because it is very easy to use and is a popular web framework in the Node community. You can run any other web framework, such as Geddy, on OpenShift as well.

You will develop a job store application that will allow users to post job openings for a company. The application will be a single-page web application (http://en.wikipedia.org/wiki/Single-page_application) built using the Backbone.js (http://backbonejs.org/) frontend. The application can do the following:

  • When a user goes to the / URL of the application, the user will see a list of companies stored in the MongoDB database. Behind the scenes, the Backbone.js-based frontend will make a REST HTTP GET ('/api/v1/companies') call to fetch all the companies:
    Creating and deploying Express web applications using Node.js and MongoDB cartridges
  • Users can create a new company by visiting http://jobstore...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech

Create a Note

Modal Close icon
You need to login to use this feature.
notes
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Delete Note

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY