Coder Social home page Coder Social logo

ijahshop's Introduction

Ijah Inventory

Simple API for inventory online shop using go language. This repository codebase implement 3 tier architecture and dependency injection.

Prequisite

  1. golang
  2. sqlite
  3. dep (optionaly)

How to run this app

To run this application locally, simply type make run. Application will serve at http://localhost:8080. It will also generate binary files on root directory.

Optional

Vendor files generated using dep package manager, if you want to re-generate this file, simple run dep ensure -v --vendor-only.

Demonstration

This app already run on my VPS. You can access directly at here.

Documentation

API Documentation can be accessed at here.

Data Model

alt text

Product

Product is model that represent Catatan Jumlah Barang. These field respectively represent each column (in excel) that shown below :

  1. name represent Nama Item
  2. sku represent SKU
  3. stock represent Jumlah Sekarang

Purchase

Purchase is model that represent Catatan Barang Masuk. These field respectively represent each column (in excel) that shown below :

  1. quantity_order represent Jumlah Pemesanan
  2. quantity_accepted represent Jumlah Diterima
  3. description represent Catatan
  4. invoice_number represent Nomer Kuitansi
  5. cost represent Harga Beli
  6. date represent Waktu

Orders

Orders is model that represent Catatan Barang Keluar. These field respectively represent each column (in excel) that shown below :

  1. quantity represent Jumlah Keluar
  2. description represent Catatan
  3. date represent Waktu
  4. price represent Harga Jual

For remaining column that doesn't mention at here, has been calculated by field that shown on picture above. It means that column doesn't have original value. That's why these column not be created as a schema.

ijahshop's People

Contributors

sog01 avatar

Forkers

djiwandou-p

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.