Giter VIP home page Giter VIP logo

authors-nodejs's Introduction

Authors Service

Description

This is a Node.js application that allows to read authors information (Twitter handle, Blog URL) from an IBM Cloudant Database or from a local "in-memory" database. With the local database everything can run in Minikube without relying on external services.

Implementation

Node.js with Express, based on the "Node.js Microservice with Express.js" starter kit on IBM Cloud. We tested the deployment on Minikube or IBM Kubernetes Service.

The local "in-memory" database uses json-query, the data set is in authors-nodejs/authordata.json.

A Cloudant instance can be created with ibm-scripts/create-cloudant.sh. It will

  • create a Cloudant instance in the Cloud region set in local.env (us-south is default)
  • create the "authors" database
  • create a view (authors-nodejs/authorview.json)
  • populate the database with our sample data (authors-nodejs/authordata.json)
  • set the correct values in local.env which is used by the deployment script for the authors service.

authors-nodejs's People

Contributors

harald-u avatar

Watchers

James Cloos 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.