go-goal-planner

module
v0.0.0-...-cfd4cc3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2023 License: MIT

README

Goal planner REST API

How to use

git clone https://github.com/cdlavacudeg/go-goal-planner.git
make
./bin/goal-planner

Dynamodb Local

Setting up aws cli
Docker image
Test
docker compose up
aws dynamodb list-tables --endpoint-url http://localhost:8000
aws dynamodb delete-table --table-name GoalPlanner --endpoint-url http://localhost:8000
aws dynamodb describe-table --table-name GoalPlanner --endpoint-url http://localhost:8000
aws dynamodb get-item \
  --table-name GoalPlanner \
  --key '{"PK": {"S": "User#100"}, "SK": {"S": "User#100-t100"}}' \
  --endpoint-url http://localhost:8000

DynamoDB one table design

Entity PK SK
User USER# USER#
Vision UV# VISION#
Objective VO# OBJECTIVE#
Tasks OT# TASK#

Directories

Path Synopsis
cmd
app
config
aws
Package docs Code generated by swaggo/swag.
Package docs Code generated by swaggo/swag.
internal
scripts
utils
env

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL