nodecloud-legacy icon indicating copy to clipboard operation
nodecloud-legacy copied to clipboard

Implement a simple goto website

Open gayashanbc opened this issue 6 years ago • 10 comments

What did you implement:

Closes #34

How did you implement it:

  • Implemented a simple goto website using HTML5 and Bootstrap 3 framework.

How can we verify it:

Visit the following link to see a preview of the website, http://nc-front.s3-website.ap-south-1.amazonaws.com

Is this ready for review?: YES Is it a breaking change?: NO

gayashanbc avatar Mar 04 '18 08:03 gayashanbc

Please make the services support added table configurable otherwise, we need to update and deploy the website after every new service support is added which may be a overhead for the website maintainer.

cc @rehrumesh @rajikaimal

raju249 avatar Mar 05 '18 14:03 raju249

@raju249 I Agree, I thought of making the table configurable using a JSON file. So whenever new services are added, just updating the JSON file would reflect the changes in the HTML table.

gayashanbc avatar Mar 05 '18 15:03 gayashanbc

Isn't that as good as updating the HTML table 😅. Can we do some sort of automation here?

On Mon, Mar 5, 2018, 8:41 PM Gayashan Bombuwala [email protected] wrote:

@raju249 https://github.com/raju249 I Agree, I thought of making the table configurable using a JSON file. So whenever new services added, just updating the JSON file would reflect the changes in the HTML table.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/cloudlibz/nodecloud/pull/46#issuecomment-370449753, or mute the thread https://github.com/notifications/unsubscribe-auth/AH7CQvLeiDZM4irBmqWPiparj7XWV0Uyks5tbVWGgaJpZM4SbPxQ .

raju249 avatar Mar 05 '18 15:03 raju249

Isn't that as good as updating the HTML table sweat_smile. Can we do some sort of automation here?

@raju249 you mean something like an editable table? UPDATE: if there's a way to get the service data using a HTTP endpoint, then surely it can be automated.

gayashanbc avatar Mar 05 '18 15:03 gayashanbc

No, maybe we can pick values from a DB in dynamodb. Whenever new service is added, we can add it to dynamodb and values are fetched dynamically. This is not same as adding values in json since Json file has to be hosted then. What you think?

On Mon, Mar 5, 2018, 8:47 PM Gayashan Bombuwala [email protected] wrote:

Isn't that as good as updating the HTML table sweat_smile.

Can we do some sort of automation here?

@raju249 https://github.com/raju249 you mean something like an editable table?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/cloudlibz/nodecloud/pull/46#issuecomment-370451828, or mute the thread https://github.com/notifications/unsubscribe-auth/AH7CQgwh0BBSyYuQOlBXF_vHO_pRu9gGks5tbVb-gaJpZM4SbPxQ .

raju249 avatar Mar 05 '18 15:03 raju249

No, maybe we can pick values from a DB in dynamodb. Whenever new service is added, we can add it to dynamodb and values are fetched dynamically. This is not same as adding values in json since Json file has to be hosted then. What you think?

@raju249 surely, can do that, as long as the website maintainer agrees to provision and manage the required cloud resources (i.e DynamoDB, Lambda, API Gateway | may vary depending on the desired approach to implement). I'll be more than happy to implement it. :)

what do you think? @rehrumesh @rajikaimal

gayashanbc avatar Mar 05 '18 15:03 gayashanbc

@gayashanbc Website looks great. Small suggestion, you can host the website in the gh-pages in a separate branch free itself which is provided by GitHub. https://pages.github.com

lakindu95 avatar Mar 13 '18 14:03 lakindu95

@lakindu95 Thank you so much for the suggestion. But I'm afraid, I don't have the necessary permission to access the repository settings, in order to configure it as a GitHub page.

gayashanbc avatar Mar 13 '18 15:03 gayashanbc

Shall we maintain this page/site in a separate branch? @rehrumesh

rajikaimal avatar Mar 19 '18 05:03 rajikaimal

@rajikaimal can you arrange the gh-pages branch for the development?

rehrumesh avatar Mar 19 '18 09:03 rehrumesh