Socket
Book a DemoInstallSign in
Socket

github.com/felixanna/web-service-dlw/memo-api

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/felixanna/web-service-dlw/memo-api

v0.0.0-20221003172952-c2970323ca57
Source
Go
Version published
Created
Source

memo api

functionalities

  • save user cared date - memo to db (support Gregorian calendar and Lunar calender)
  • search memo for user
  • call date api to calculate recent memo date (MMdd) for given memo

Docker Guide

Build

docker build -t memo-api . or docker build -t memo-api:1.0.0 .

Check Image

docker image ls

Tag

docker image tag memo-api:latest memo-api:1.0.0

Run (use consul for service registry and discovery)

docker run -d -e AWS_ACCESS_KEY_ID=xyz -e AWS_SECRET_ACCESS_KEY=abc -e AWS_REGION=ap-southeast-1 -e profile=dev --publish 8282:8282 memo-api:1.0.0

TODO

  • call a api from another docker container #done

FAQs

Package last updated on 03 Oct 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.