Skip to content

HelloWorld Microservice is built on top of DEEP Framework and used in DEEP Marketplace

License

Notifications You must be signed in to change notification settings

MitocGroup/deep-microservices-helloworld

Repository files navigation

deep-microservices-helloworld

Build Status Test Coverage

deep-microservices-helloworld is a very simple microservice designed to illustrate the basic syntax for constructing a web application built of top of DEEP Framework. This repository is open sourced to show case how developers can build and deploy hassle-free cloud-native web applications using microservices architecture and serverless computing.

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. Deploy Microservice(s) to 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-helloworld?

Interested in contributing to deep-microservices-helloworld?

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

Sponsors

This repository is being sponsored by:

This code can be used under MIT license:

See LICENSE for more details.