GithubHelp home page GithubHelp logo

isabella232 / openwhisk-workshop Goto Github PK

View Code? Open in Web Editor NEW

This project forked from apache/openwhisk-workshop

0.0 0.0 0.0 54 KB

[DEPRECATED] - OpenWhisk workshop to help developers learn how to build serverless applications using the platform.

License: Apache License 2.0

JavaScript 98.41% Shell 1.59%

openwhisk-workshop's Introduction

OpenWhisk Workshop

๐ŸŽ‰ Welcome to the OpenWhisk workshop! ๐ŸŽ‰

OpenWhisk is a cloud-first distributed event-based programming service. It provides a programming model to upload event handlers to a cloud service, and register the handlers to respond to various events. Learn more at https://developer.ibm.com/openwhisk or try it on IBM Bluemix OpenWhisk.

This workshop provides a series of exercises to help you understand how to use OpenWhisk to build serverless applications.

Developers are introduced to each feature of the platform through these exercises. After reading the exercise documentation, they are presented with a challenge to test their skills. The tool automatically verifies whether they have passed that test and records their progress.

overview

installation

Please ensure you are running Node version 6 or above.

$ npm install -g openwhisk-workshop 

This tool needs the OpenWhisk command-line utility to be installed and authenticated against an instance of the platform. For more details on getting this environment setup, see the following documentation for a cloud setup here, or a local setup here.

usage

Once the tool is installed, developers can open the application by running the following command.

$ openwhisk-workshop

challenges

The list of exercises will be displayed, along with current completion progress. Using the arrow keys (โ†‘โ†“) to navigate the menu, press RETURN to open an exercise.

On selecting an exercise, the problem challenge will be printed to the terminal.

exercise

documentation

Each exercise comes with a documentation page which explains the concepts behind the challenge. Use the following command to display the exercise documentation in the terminal.

$ openwhisk-workshop more

Developers may need to write sample serverless functions and set up triggers and rules to implement the solutions.

verification

Once the developer has solved the challenge, they can verify their solution with the following command.

$ openwhisk-workshop verify

If their solution is correct, that task will be marked as completed and the utility returns to the list of exercises. Developers can continue working through the exercises until they have completed them all.

verify

exercises

Exercises are located in the exercises folder. The more.md file contains the documentation for the feature being introduced. The problem.md file contains the test for this exercise. The exercise.js file contains the JavaScript run to verify the exercise solution.

support

If you have problems with the workshop, please raise an issue in the repository.

Need more general help with OpenWhisk?

credits

This workshop tool uses the NodeSchool project.

openwhisk-workshop's People

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.