tanduong / deploystack_todo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deploy Stack - Todo

This is a simple todo application written in containers that uses a MySQL backend along with Redis Caching to drive a API and a frontend that powers a simple little Todo application. It also spins up Google Cloud infrastructure to power the application.

ToDo architecture

Install

You can install this application using the Open in Google Cloud Shell button below.

Open in Cloud Shell

Once this opens up, you can install by:

  1. Typing ./deploystack install

Cleanup

To remove all billing components from the project

  1. Typing ./deploystack uninstall

Development

There is a development setup for this application that uses Docker to run everything you need to developer and test it out locally.

To run:

  1. Open a terminal on your local system.
  2. cd code
  3. make dev

This will spin up 4 containers

  1. MySQL /database
  2. Redis
  3. Golang API /middleware
  4. Static HTML/JS/CSS site /frontend

This is not an official Google product.

About

License:Apache License 2.0


Languages

Language:Go 45.2%Language:HCL 22.6%Language:JavaScript 15.5%Language:Dockerfile 4.8%Language:CSS 3.5%Language:HTML 3.0%Language:Shell 2.8%Language:Makefile 2.6%