Coder Social home page Coder Social logo

golang-pos's Introduction

Golang Point Of Sale

Example Golang API backend rest implementation mini project Point Of Sale using Gin Framework and Gorm ORM Database.

Command

  • App Lifecyle

$ go run main.go || make go run
  • Docker Lifecycle

$ docker-compose up -d --build

Endpoint

Nama Route Method
User
/api/v1/auth/ping GET
/api/v1/auth/register POST
/api/v1/auth/login POST
Merchant
/api/v1/merchant/ping GET
/api/v1/merchant POST
/api/v1/merchant GET
/api/v1/merchant/:id GET
/api/v1/merchant/:id DELETE
/api/v1/merchant/:id UPDATE
Outlet
/api/v1/outlet/ping GET
/api/v1/outlet POST
/api/v1/outlet GET
/api/v1/outlet/:id GET
/api/v1/outlet/:id DELETE
/api/v1/outlet/:id PUT
Customer
/api/v1/outlet/ping GET
/api/v1/customer POST
/api/v1/customer GET
/api/v1/customer/:id GET
/api/v1/customer/:id DELETE
/api/v1/customer/:id PUT
Product
/api/v1/product/ping GET
/api/v1/product POST
/api/v1/product GET
/api/v1/product/:id GET
/api/v1/product/:id DELETE
/api/v1/product/:id PUT
Role
/api/v1/role/ping GET
/api/v1/role POST
/api/v1/role GET
/api/v1/role/:id GET
/api/v1/role/:id DELETE
/api/v1/role/:id PUT
Supplier
/api/v1/supplier/ping GET
/api/v1/supplier POST
/api/v1/supplier GET
/api/v1/supplier/:id GET
/api/v1/supplier/:id DELETE
/api/v1/supplier/:id PUT
Transaction
/api/v1/transaction/ping GET
/api/v1/transaction POST
/api/v1/transaction GET
/api/v1/transaction/:id GET
/api/v1/transaction/:id DELETE
/api/v1/transaction/:id PUT

golang-pos's People

Contributors

khanbalarashidov avatar restuwahyu13 avatar

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.