Categorygithub.com/mike-kimani/whitepointinventory
repositorypackage
1.0.0
Repository: https://github.com/mike-kimani/whitepointinventory.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# 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