From 1ac91b80fca3bb1a70309b8b915b1a8039656270 Mon Sep 17 00:00:00 2001
From: jc3 <jc3@jc3.aura>
Date: Tue, 21 Jul 2020 17:14:19 -0700
Subject: [PATCH] launching test API project

---
 get.rest     | 4 +++-
 index.js     | 2 +-
 package.json | 3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/get.rest b/get.rest
index 5bf2cba..0a09283 100644
--- a/get.rest
+++ b/get.rest
@@ -15,8 +15,10 @@ GET {{host}}/fruit?limit=4 HTTP/1.1
 GET {{host}}/fruit?limit=3&offset=1&name=b HTTP/1.1
 
 ###
-GET {{host}}/fruit?offset=2 HTTP/1.1
+GET {{host}}/fruit?offset=3 HTTP/1.1
 
 ###
 GET {{host}}/fruit HTTP/1.1
 
+###
+GET https://apiest.herokuapp.com/fruit
diff --git a/index.js b/index.js
index 50ac453..d114ccf 100644
--- a/index.js
+++ b/index.js
@@ -55,7 +55,7 @@ const parse_qs = ( qs_object_input, model_input ) => {
     }
 
     if( query_object.colors ){
-         
+            
         results = results.filter(
             fruit => fruit.colors.some(
                     c => query_object.colors.includes(c)
diff --git a/package.json b/package.json
index 1c1859b..b9dd992 100644
--- a/package.json
+++ b/package.json
@@ -4,7 +4,8 @@
   "description": "",
   "main": "index.js",
   "scripts": {
-    "test": "echo \"Error: no test specified\" && exit 1"
+    "test": "echo \"Error: no test specified\" && exit 1",
+    "start": "node ."
   },
   "keywords": [],
   "author": "",
-- 
GitLab