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

bitbucket.org/adhikag24/golang-api

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bitbucket.org/adhikag24/golang-api

  • v0.0.0-20211019064729-a0d8831763c1
  • Source
  • Go
  • Socket score

Version published
Created
Source

User Data API

The app fetch the data from postgres database that are build in docker, the container between application and database are connected using docker-compose.

Run the Application

To run this application, clone the repository and run command:

$ docker-compose up
$ curl http://localhost:8080/displayallusers
[{"userid":1,"name":"Budi"},{"userid":2,"name":"Nano"}]

If docker has not been installed in your computer, you may reffer to this link Get Docker.

Endpoints

There are 2 available endpoints:

  • displayallusers (GET)
  • displayuser (POST)

FAQs

Package last updated on 19 Oct 2021

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