Sample shopping cart CRUD service with Go and Kubernetes.
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