rest api POS ( point of sales ) built with hapi.js, kasirAja aplikasi POS gratis dan opensource
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Aji Kamaludin 6fecf7eef3
miss query unexecuted
3 years ago
documents add customer end point , update sales to more detail 3 years ago
migrations add customer end point , update sales to more detail 3 years ago
src miss query unexecuted 3 years ago
.env.example init project 3 years ago
.eslintrc.json init project 3 years ago
.gitignore init project 3 years ago
README.md update readme 3 years ago
package-lock.json users implemented 3 years ago
package.json init project 3 years ago

README.md

kasirAja API

contoh rest api POS ( point of sales ) built with hapi.js

frontend

ReactJS Web App - kasirAja: Link

React Native Mobile App - kasirAja: Coming Soon

table structure

table structure

feature

  • PostgreSQL database
  • bisa lebih dari 1 toko multi store
  • bisa lebih dari 1 kasir multi users
  • pengelolaan kategori, produk, stok, dan pelanggan
  • pembelian
  • penjualan
  • diskon penjualan

documention API

Postman (import file) : Link

start

  • install

      npm install
    
  • config .env file for database

      cp .env.example .env
    
  • migrate database

      npm run migrate up
    
  • run the app

      npm run start
    
  • test

      curl -i -H 'Accept: application/json' http://localhost:5000/
    

response

HTTP/1.1 200 OK
Date: Thu, 24 Feb 2011 12:36:30 GMT
Status: 200 OK
Connection: close
Content-Type: application/json
Content-Length: 2

{
    "status": Ok!
}