oba11 / copilot-demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Copilot Demo

This repo contains a project of two microservices which can be extended to multiple microservices.

The frontend is a simple nodejs application which calls api for dynamic giphy images. The backend is a golang application which calls giphy API to retrieve images and responds back with previous history of giphy responses.

Requirements

  • Install copilot
curl -Lo $HOME/.local/bin/copilot https://github.com/aws/copilot-cli/releases/download/v0.4.0/copilot-$(echo `uname -s` | tr '[A-Z]' '[a-z]')-v0.4.0 \
&& chmod +x $HOME/.local/bin/copilot \
&& copilot --help

Deployment

Deploy the frontend

make deploy-frontend

Deploy the api

make deploy-api

Cleanup

copilot app delete
OR
make delete

About


Languages

Language:Go 46.9%Language:JavaScript 25.2%Language:Pug 15.6%Language:Makefile 6.6%Language:Dockerfile 5.7%