GithubHelp home page GithubHelp logo

sample-nodejsrest's Introduction

Sample Node.js REST Service with docker

Sample Node.js REST service with docker for deployment to Apprenda

The repository contains a basic Node.js REST service with the addition of a Dockerfile for packaging in a docker container. Additionally, an Apprenda archive is provided if you wish to deploy to an Apprenda environment with docker enabled.

There are two options to follow in order to deploy in your environment:

  1. Deploy the already provided and built docker image
  2. Build the application and your own docker image for deployment

Deploying Existing Image

  1. Deploy the Archive.zip file to Apprenda as a new application. The file is provided within the archive folder in this repository.

Build your Own Image

  1. Navigate to the src directory of the repository
  2. Build a docker image using the provided Dockerfile and push to your repository of choice.
  3. Modify the DeploymentManifest file provided in the archive folder with the correct information (Image Name).
  4. Zip the linuxServices and DeploymentManifest files to create an Apprenda Archive.
  5. Deploy to Apprenda.

sample-nodejsrest's People

Contributors

eriklg 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.