memoriesbox

module
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2023 License: MIT

README

Quality Gate Status CI Docker Pulls docker Build

Memories box

This app store your memories in postgres backend.

Configuration

This application used ff in order to get configuration (prefix MEMORIESBOX).

Check env_example for main variables.

Development

Dependencies
Application dependencies

You can use docker with docker-compose to handle deps.

docker-compose -f docker-compose-dev.yml up -d

In order to migrate down you can run:

docker-compose -f docker-compose-dev.yml up --scale migrate_up=0 --scale migrate_down=1 -d
Usage

Run make help to have all targets with description

Copy .env_example to .env with your custom values.

Security

In order to add memory, there is an interface under /add, this will POST on /api/memories/add ** WITHOUT** authentification do necessary protection. You can disable add interface with MEMORIESBOX_FEAT_ADD_MEMORY=false

Credits

Directories

Path Synopsis
cmd
pkg
db
mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
web

Jump to

Keyboard shortcuts

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