Categorygithub.com/endyApina/exercise-admin-computer
modulepackage
0.0.0-20230306081037-d438995f029c
Repository: https://github.com/endyapina/exercise-admin-computer.git
Documentation: pkg.go.dev

# README

EXERCISE ADMIN COMPUTER

Build Status

This repository provides an endpoint to keep track of computers issues by the company This services run on port 9119 with the base HTTP URL /api/computer

Dependencies

  • Install && Run Docker docker
  • Install and run postgress with Docker
    docker pull postgres
    docker run -p 5432:5432 --name my-postgres -e POSTGRES_PASSWORD=secret-password -d postgres
    

Environment Varables

service_name: "computer-records"
service_port: "9119"
database_host: "localhost"
database_port: "5432"
database_name: "greenbone"
database_password: "PASSWORD"

NOTE: CREATE POSTGRES DATABASE

To build the service run

go build -o admin-computer

Import postman collection

download && import Greenbone.postman_collection.json

Afterwards the service can be started with ./admin-computer.

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author