Skip to content

pradoz/simple-webservice-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Initial setup

Get the go module from this repo

go mod init https://github.com/pradoz/simple-web-service

Clone main.go into your root directory

curl -sL https://raw.githubusercontent.com/pradoz/simple-web-service/master/main.go -o main.go

This also assumes a Redis instance running on localhost

export REDIS_PASSWORD=password docker run -d --name redis -p 6379:6379 -e REDIS_PASSWORD=password bitnami/redis:latest

TODO:

[x] - Dockerize application
[ ] - Create deployment
[ ] - Expose app with Ingress
[ ] - Configurations using ConfigMap
[ ] - Secure credentials with Secrets
[ ] - Use StatefulSet to deploy Redis backend
[ ] - Adding HTML content (static webpage)
[ ] - Package Kubernetes cluster with Helm

About

Simple API service in Go with Redis backend

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published