pv_backend

command module
v0.0.0-...-9057cf5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2018 License: MIT Imports: 13 Imported by: 0

README

pv_backend

pv_backend is the main API backend of Postverta. It exposes a couple of HTTP endpoints for both external and internal uses.

Postverta is designed as a monolithic service as there has not been enough motivation to split the service into multiple microservices.

Usage

pv_backend requires the following services and resources to function:

  • A mongodb database to store all meta data.
  • A number of compute hosts to run the development containers. Each host must have the pv_agent daemon running. Please refer to the pv_agent repository.
  • A docker image on Docker Hub for the container base image. Refer to the base_image repository.
  • A file directory for application logs. It is recommended to use mounted remote file systems (such as Azure File) as there can be quite a lot of log files.
  • An Azure storage account to store the workspace image blobs. Please refer to pv_exec and lazytree repositories for details.
  • An Auth0 for user authentication. From the backend perspective, it only needs the JWT secret to verify the access token of the incoming requests.
  • A Cloudinary account for image processing.
  • (Optional) a Segment account to track app accesses.
  • (Optional) a TLS certificate for HTTPS.

Configuration

Most configurations can be found either in main.go or config/config.go. The complied binary doesn't take any command line parameter.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL