diff --git a/goto-website/index.css b/goto-website/index.css new file mode 100644 index 0000000..a678fdb --- /dev/null +++ b/goto-website/index.css @@ -0,0 +1,23 @@ +.light-weight{ + font-weight: 200; + font-size: 0.8em; +} +.header-text{ + text-align: left; + color: #131d41 +} +.code{ + font-size: 1.6em; +} +.gen-text{ + font-size: 1.7em; + font-family: Helvetica; +} +.jumbotron{ + background-color: lightskyblue; +} +section{ + border: 1px solid #131d41; + margin: 20px; + padding: 20px; +} diff --git a/goto-website/index.html b/goto-website/index.html new file mode 100644 index 0000000..b5800d2 --- /dev/null +++ b/goto-website/index.html @@ -0,0 +1,207 @@ + + + + + + + + + + + NodeCloud + + + + + + + + +
+
+
+
+ NodeCloud Logo +
+
+

+
NodeCloud
+

+
+

+ + NodeCloud is a standard library to get a single API among common cloud service providers (Ex. AWS, GCP, Azure.. ). +
+
This will make building products among multiple cloud services and its services easier for the + developer. +
+

+
+
+
+
+
+
+
+
+

Install

+
+
+ npm install nodecloud
+ or
+ yarn add nodecloud
+
+
+

Service Providers

+
+
    +
  • Amazon web services (AWS)
  • +
    +
  • Google cloud platform (GCP)
  • +
+
+
+
+
+
+
+
+
+

Service Types

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Service CategoryServiceAWSGCP
ComputeIaaSEC2Compute Engine
ContainersECS-
StorageObject StorageS3Cloud Storage
Block StorageEBSPersistent Disks
NetworkingLoad BalancerELB-
PeeringDirect Connect-
DNSRoute53Google DNS
DatabasesRDBMSRDS-
NoSQL: key-valueDynamoDBCloud Datastore
NoSQL: indexed-Cloud Datastore
+
+
+
+
+
+
+
+

Usage

+
+ +
+ const nodeCloud = require("nodecloud");
+ // AWS
+ const ncAWS = nodeCloud.getProvider("AWS");
+ const options = {
+     apiVersion: "2016-11-15"
+ };
+ 
+ const params = {
+     ImageId: "ami-10fd7020", // amzn-ami-2011.09.1.x86_64-ebs
+     InstanceType: "t1.micro",
+     MinCount: 1,
+     MaxCount: 1
+ };
+ const instanceParams = {
+     Key: "Name",
+     Value: "Node Cloud demo"
+ };
+ 
+ const ec2 = ncAWS.compute(options);
+ ec2
+     .createInstance(params, instanceParams)
+     .then(res => {
+        console.log(`All done ! ${res}`);
+     })
+     .catch(err => {
+        console.log(`Oops something happened ${err}`);
+     });
+
+
+
+
+
+
+
+
+

Development Setup

+
+
+ $ git clone https://github.com/cloudlibz/nodecloud
+ $ cd nodecloud
+ $ yarn install 
+
+
+

Run Unit Tests

+
+
+ $ yarn test
+
+
+
+
+
+
+ + + + + + \ No newline at end of file diff --git a/goto-website/logo.png b/goto-website/logo.png new file mode 100644 index 0000000..d301bba Binary files /dev/null and b/goto-website/logo.png differ