Skip to content
Pipelines-MarketplacePublic

About

Backend services for Pipelines-Marketplace.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

115 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Backend Service

Backend service provides REST APIs for the Pipelines-Marketplace UI to interact with the database. It also povides file service by caching the YAML and README files from the Github reposiory provided by the user.

Dependencies

  1. Go 1.11.3
  2. PostgreSQL 10.6

Running on your local machine

  1. Fork and clone this repository
  2. Create a .env file with the following fields
GITHUB_TOKEN="c3ed7ada95145da8822103c86cbabeb4c503fa98"
POSTGRESQL_USERNAME=""
POSTGRESQL_PASSWORD=""
POSTGRESQL_DATABASE=""
HOST=""
PORT=
CLIENT_ID=""
CLIENT_SECRET=""
VALIDATION_API=""

Deploy the validation service from https://github.com/Pipelines-Marketplace/validation-service Get your Github Access token from https://github.com/settings/tokens

  1. Install dependencies go mod download

  2. Restore the latest database backup by executing the below command with HOST, PORT, DB_NAME AND USER_NAME pg_restore -h HOST -p PORT -d DB_NAME -U USER_NAME latest_database_backup.dump

  3. Build the application go build backend ./cmd/

  4. Run ./backend

About

Backend services for Pipelines-Marketplace.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages