Table of Contents
REST application for loyalty card management.
- Go Lang
- List all:
go list -m all
To get a local copy up and running follow these simple steps.
kubectl apply -f ./k8s
See the open issues for a list of proposed features (and known issues).
Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Prerequisites:
-
Golang
wget https://golang.org/dl/go1.18.linux-amd64.tar.gz rm -rf /usr/local/go && tar -C /usr/local -xzf go1.18.linux-amd64.tar.gz export PATH=$PATH:/usr/local/go/bin
-
Docker and docker-compose
sudo apt-get install docker docker-compose docker.io -y
-
Environment: see ".env.example"
Installation:
-
Clone the repo
git clone https://github.com/patricksferraz/loyalty-card.git
-
Run
make up
-
Test
make gtest
Installation in local kubernetes:
- Install k3d, Kind or similar
- Install Kubectl and Helm
- Follow the steps of Getting Started
-
Connect to cluster and run:
kubectl apply -f k8s/
-
patricksferraz - patrick.ferraz@outlook.com
Project Link: loyalty-card