Skip to content

MitocGroup/deep-microservices-root-vanilla

Repository files navigation

deep-microservices-root-vanilla

Build Status Test Coverage

deep-microservices-root-vanilla is the fundamental building block used by cloud-native web applications built on top of DEEP Framework and Vanilla JS. This microservice provides the root structure of the web application that is developed in vanilla / plain JavaScript, without using any framework like AngularJS or ReactJS.

Getting Started

Step 1. Pre-requisites

npm install deepify -g

If you want to use deepify on Windows, please follow the steps from Windows Configuration before running npm install deepify -g and make sure all npm and deepify commands are executed inside Git Bash.

Step 2. Install Microservice(s) Locally

deepify install github://MitocGroup/deep-microservices-helloworld ~/deep-microservices-helloworld

Path parameter in all deepify commands is optional and if not specified, assumes current working directory. Therefore you can skip ~/deep-microservices-helloworld by executing mkdir ~/deep-microservices-helloworld && cd ~/deep-microservices-helloworld before deepify install.

Step 3. Run Microservice(s) in Development

deepify server ~/deep-microservices-helloworld -o

When this step is finished, you can open in your browser the link http://localhost:8000 and enjoy the deep-microservices-helloworld running locally.

Step 4. Run Microservice(s) in Production

deepify deploy ~/deep-microservices-helloworld

Amazon CloudFront distribution takes up to 20 minutes to provision, therefore don’t worry if it returns an HTTP error in the first couple of minutes.

Step 5. Remove Microservice(s) from Production

deepify undeploy ~/deep-microservices-helloworld

Amazon CloudFront distribution takes up to 20 minutes to unprovision. That's why deepify command checks every 30 seconds if it's disabled and when successful, removes it from your account.

Developer Resources

Having questions related to deep-microservices-root-vanilla?

Interested in contributing to deep-microservices-root-vanilla?

Looking for web applications that use (or are similar to) deep-microservices-root-vanilla?

Sponsors

This repository is being sponsored by:

This code can be used under MIT license:

See LICENSE for more details.