whitepointinventory

command module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2024 License: GPL-3.0 Imports: 17 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

White Point Inventory

White Point inventory is an inventory service for management of supplier transactions for White Point limited company. This aims to solve inventory management problems while also provide insights from data collected from previous transactions.

Prerequisites

The following are required to run this service:

  1. Docker (version 26.0.0)

To develop whitepointinventory, you will need:

  1. Go (version 1.21)
  2. PostgreSQL (version 14.12)

Installation

Ensure all pre-requisites are satisfied before carrying out installation and clone the repo

Using Docker

Execute this command from the project root:

docker compose -f docker/docker-compose.yml up

Without Docker
Database Creation

Create a PostgreSQL database and name it appropriately. Check this reference .The database is named whitepointinventory in this case

Apply all Database Migrations

cd sql/schema

goose postgres postgres://{userName}:{password}@localhost:5432/{databaseName} up

Build and Start the Server

go build && ./whitepointinventory

Documentation

The documentation is found here

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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