New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

github.com/avcwisesa/wikidata-profiling-prototype-back

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/avcwisesa/wikidata-profiling-prototype-back

  • v0.0.0-20190717061648-da5490010ba4
  • Source
  • Go
  • Socket score

Version published
Created
Source

ProWD Back End

The back-end service of ProWD is used as database wrapper to save CFA profiles which ProWD's users want to analyze

Prerequisites & Setup

git clone https://github.com/avcwisesa/wikidata-profiling-prototype-back

Running the code

  1. Copy environment variables
cp .env.example .env
  1. Modify environment variable to fit database spec & back-end server port

  2. Install dependencies

govendor fetch +outside
  1. For running program, use command below:
go run main.go

Development Guide

Libraries

Modifying code

  • To maintain lean structure and maintainability the code is currently only in main.go, future needs may dictates otherwise.
  • To modify database field, modify type profile struct in main.go, and modify createProfile and updateProfile functions accordingly
  • Migration will be done automatically after the back-end server has been restarted.
  • To add new feature/endpoint refer to Gin-Gonic docs for routing and handling requests

FAQs

Package last updated on 17 Jul 2019

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