Code Monkey home page Code Monkey logo

demo-projects's Introduction

Overview

The demo-projects repository

This repository contains Nimbella projects. Some of the README documents serve as tutorials for using the Nimbella platform to build both stateless and stateful cloud applications. We'll use them to give you a feel for the various types of projects you can create.

The examples used in this document are available on GitHub and the Nimbella platform has integrations with GitHub to make it easy to deploy your projects from GitHub, as you'll see.

The tutorial introduction has the following parts:

  • Demos with tutorial:
    • QR Code Generator โ€“ A stateless application with one static web page and one function. The web page has a form in which a visitor can enter text and get a corresponding QR code. Try it live here.

    • Page Visits Counter - A stateful application with one static web page and two functions. The web page displays a counter of the total number of unique visits to that page.

    • Optical Character Recognition (OCR) - A serverless application using a React front end and stateful functions on the back end. This demo uses the Tesseract OCR Engine to convert text from user-uploaded images to text. It uses integrated Nimbella storage service for managing file uploads and recording function progress. Try it live here.

    • Election 2020 - A serverless application using a React front end and functions on the back end. This project also is a repository of public APIs and Nimbella APIs and functions to get election news, polling places, early vote locations, contest data, exit polls data, county wise historical voting data, election officials, and government representatives for U.S. residential addresses which can be used for developing any election app. Try it live here.

    • Stock Trading - A serverless application using a React front end and stateful functions on the back end. This demo simulates stock trading process and uses Redis to store user data. Try it live here.

    • Chatroom - A serverless application using a React front end and stateful functions on the back end. This demo uses Redis to store and fetch user lists and messages. Try it live here.

    • Calculator - A stateful application with one static web page and one function. The web page has a input field in which a visitor can enter a numeric expression and output a result. Try it live here.

Prerequisites

To understand these tutorials, the following developer skills are helpful:

  • Familiarity with JavaScript, Node.js or PHP
  • Some knowledge of the npm tool

To run these tutorials yourself, you'll need the following:

To configure your Nimbella Cloud account and install nim, see How To Use the Nimbella Command Line Tool.

How to deploy the demos

Besides the Nimbella GitHub demos used as tutorials in this guide, there are other demos that are also available in this repository.

To deploy any demo project directly from GitHub to the Nimbella Cloud, run the following nim command in your terminal:

nim project deploy github:nimbella/demo-projects/<demo-subdirectory>

Your results may vary depending on whether you used a GitHub account to create your Nimbella account. If you did, you will be deploying as an authenticated GitHub user and all should go smoothly.

  • If you used just an email, Nimbella will not have GitHub credentials stored for you. Some of the larger demos may be rejected by GitHub because the deployment will exceed the rate limit for unauthenticated users.

  • If you used just an email but actually have a GitHub account, you can attach your github credentials at any time using nim auth github --initial.

Note: If you clone the GitHub repository locally to your disk, then you can deploy from your local path by running the following nim command in your terminal:

nim project deploy /local/path/to/demos/<demo-subdirectory>

This will not incur any rate limitations from GitHub since the deployment step will not involve GitHub directly.

demo-projects's People

Contributors

bhageena avatar dependabot[bot] avatar joshuaauerbachwatson avatar mohanreddymummareddy avatar nancyhild avatar perryiam avatar purplecabbage avatar rabbah avatar satyarohith avatar supers1018 avatar vaibhavdes avatar

Watchers

 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.