Giter Site home page Giter Site logo

topcoder-starterpack_bluemixnode's Introduction

Blue mix starter

Description

A starter pack for nodejs with bluemix deployment.

Requirements

Configuration

Name Description
PORT The port to listen
VERBOSE_LOGGING The flag if debug logging in enabled

Local deployment

npm run <script> Description
start Serves the app in prod mode. It will override config with config/production.js
dev Same as npm start, but enables nodemon for the server as well.
lint Lint all .js files.
lint:fix Lint and fix all .js files. Read more on this.
spec Run unit tests
spec:watch Run unit tests in watch mode
e2e Run e2e tests
e2e:watch Run e2e tests in watch mode
coverage Run unit tests and verify coverage
check-coverage Verify coverage only
test Run lint, tests and checks coverage

Bluemix deployment

  1. go to https://console.eu-gb.bluemix.net
  2. click Create app
  3. pick SDK for Node.js
  4. pick any free App name and click Create
  5. Click on the app and go to tab Getting started
  6. (optional) Copy manifest.yml from DOWNLOAD STARTER CODE to the application directory
  7. Complete steps 2-7 for deployment
  8. if you copied manifest.yml you can just run cf push for redeployment

Testing

Import postman/Bluemix starter.postman_collection.json collection and postman/bluemix starter.postman_environment.json environment.

Live demo http://sky-bluemix-starter.eu-gb.mybluemix.net/api/test

topcoder-starterpack_bluemixnode's People

Contributors

rootelement avatar lstkz avatar

Watchers

James Cloos avatar Solomon Kassaye avatar

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.