tjmaynes / shopping-cart-service-go

Sample shopping cart CRUD service with Go and Kubernetes.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

shopping-cart-service-go

Sample shopping cart CRUD service with Go and Kubernetes.

Requirements

Usage

To install project dependencies, run the following command:

make install

To generate mocks, run the following command:

make generate_mocks

To run all tests, run the following command:

make test

To make sure the database is running, run the following command:

make run_local_db

To start the app and database locally, run the following command:

make start

To debug the local database, run the following command:

make debug_local_db

To run migrations, run the following command:

make migrate

To generate seed data, run the following command:

make generate_seed_data

To seed the database, run the following command:

make seed_db

To build the docker image, run the following command:

make build_image

To run the docker image, run the following command:

make debug_image

To push the docker image to dockerhub, run the following command:

make push_image

About

Sample shopping cart CRUD service with Go and Kubernetes.

License:MIT License


Languages

Language:Go 87.3%Language:Shell 8.3%Language:Makefile 4.4%