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

github.com/cod3rboy/contacts-book

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/cod3rboy/contacts-book

  • v0.0.0-20240311184041-e3f92857970c
  • Source
  • Go
  • Socket score

Version published
Created
Source

Contacts Book Application

Architecture

This application has three modules -

  1. gRPC Backend
  2. JSON API Backend (json-api directory)
  3. React Frontend (react-ui directory)

Request and the response flows are as follows:

  • Request: React Frontend -> JSON API Backend -> gRPC Backend
  • Response: gRPC Backend -> JSON API Backend -> React Frontend

Install Dependencies

  • Install yarn - npm install --global yarn
  • Install protoc compiler.
  • GRPC tools npm package: npm install --global grpc-tools
  • Install protoc js plugin npm package: npm install --global protoc-gen-js-grpc

Code Generation

These commands generate gRPC client stub and server stub from proto files.

  • Windows: make proto-win

  • Linux/Mac: make proto-lin

Running Application

Run all three modules in the following sequence -

gRPC Backend

go run main.go

JSON API Backend

  • cd json-api
  • cp .env.example .env
  • yarn dev

React Frontend

  • cd react-ui
  • cp .env.example .env
  • yarn dev

FAQs

Package last updated on 11 Mar 2024

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