Coder Social home page Coder Social logo

cloud-functions-nodejs-toolchain's Introduction

This template has been deprecated and is no longer supported.

IBM Cloud

IBM Cloud platform Apache 2

Develop a Cloud Functions Node.js application

This repository includes toolchain code to deploy a serverless Backend-for-Frontend (BFF) application that uses Node.js and IBM Cloud Functions. Cloud Functions supplies basic Create, Read, Update, and Delete operations in a serverless environment. These functions can be mapped to an API gateway and then integrated into an iOS app; for example, to enable persistence of data into a Cloudant NoSQL Database or any other NoSQL database.

Included components

  • Continuous Delivery: Enable tool integrations that support your development, deployment, and operation tasks.
  • GitLab: GitLab unifies issues, code review, CI, and CD into a single UI.

Featured technologies

  • IBM Cloud Functions: An event-action platform that allows you to run code in response to an event.
  • Node: An open-source JavaScript runtime environment for running server-side JavaScript code.

Steps

While you can use the individual actions locally, this collection of endpoints is meant to be deployed to IBM Cloud Functions. You can deploy this application to IBM Cloud or deploy it manually by cloning this repo first.

You can then review the Actions in the IBM Cloud console, along with your Cloud Functions APIs.

Method HTTP request Description
Create POST /database Inserts an object
Read GET /database/objectId Retrieves an object
ReadAll GET /database Retrieves all objects
Delete DELETE /database/objectId Deletes an object
DeleteAll DELETE /database Deletes all objects
Update PUT /database/objectId Updates content of an object

Deploying to IBM Cloud

Create toolchain

Click Create toolchain to deploy this same application to IBM Cloud. This option creates a deployment pipeline, complete with a hosted GitLab project and DevOps toolchain. IBM Cloud DevOps services provides toolchains as a set of tool integrations that support development and deployment to IBM Cloud Functions.

Deploying manually

To deploy this application to IBM Cloud using the command line, you can leverage the IBM Cloud Developer Tools.

  • Install IBM Cloud Developer Tools on your machine by running the following command:
    curl -sL https://ibm.biz/idt-installer | bash
    

Next steps

License

Apache 2.0

cloud-functions-nodejs-toolchain's People

Contributors

huayuenh avatar padraic-edwards avatar

Watchers

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