Git Product home page Git Product logo

bluemix-node-todo's Introduction

bluemix-todo-apps - node overview

TodoMVC using Cloudant and Compose for MongoDB services running on Bluemix.

How it Works

  1. Add items to the todo list by typing into the box and pressing Enter

  2. Mark items as complete by clicking the checkmark to the left of the corresponding item.

  3. Delete items by clicking the 'X' to the right of the corresponding item that appears on hover.

  4. Edit existing todo items by double-clicking on the corresponding item.

Running the app on Bluemix

  1. Create a Bluemix Account

    Sign up for Bluemix, or use an existing account.

  2. Download and install the Cloud-foundry CLI tool

  3. Go on the Bluemix catalog and select nodeJS Runtime, remember the name of the application you just created, we will use it later

  4. Click on the newly created app and go to the Connection section and hit Connect New. Create a new Compose for mongoDB service and remember the name of the service you just created, we will use it later

  5. Clone the app to your local environment from your terminal using the following command

git clone https://github.com/hkgian/bluemix-node-todo.git
  1. Change the directory to the node directory
cd node
  1. Edit the manifest.yml file with the name of the application and the name of the Service

  2. Push the application to Bluemix with the following commands, you need to be in the folder where the manifest file is located.

cf login -a https://api.eu-gb.bluemix.net
cf push

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.