Skip to content

This repository hosts a web app for the inventory of WhitePoint Chicken Suppliers

License

Notifications You must be signed in to change notification settings

kimanimichael/whitepointinventory

Repository files navigation

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

About

This repository hosts a web app for the inventory of WhitePoint Chicken Suppliers

Resources

License

Stars

Watchers

Forks

Packages

No packages published