Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/felixanna/web-service-dlw/user-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/user-api

  • v0.0.0-20221003172952-c2970323ca57
  • Source
  • Go
  • Socket score

Version published
Created
Source

user api

functionalities

  1. user can login by github account

  2. fire CRUD operations on user table after login /register

  3. generate native jwt token for user after login

  4. filter by jwt token for some api

  • support login from own oauth2 server (enhance later)

Docker Guide

Build

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

Check Image

docker image ls

Tag

docker image tag user-api:latest user-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 8181:8181 user-api:1.0.0

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc