Giter VIP home page Giter VIP logo

openpss's Introduction

CircleCI GitHub Releases OpenJDK

OpenPSS

OpenPSS

Point of Sale software specifically designed for offset and digital printing business. Powered by JavaFX and Kotlin frameworks. Heavily under development.

Features

  • Multi-language: currently supports English and Bahasa.

How to use

Download

Head to releases to download this app in 3 variants:

  • app - Native MacOS app.
  • zip - Compressed folder containing Windows 64-bit libraries and executables.
  • jar - Smaller Java executable that requires JRE 1.8.

Database

MongoDB is required to run the app, install it on server system and grant privileges to the main user in admin database:

{
	"user": "my_name",
	"pwd": "my_password",
	"roles": [
		{
			"role": "userAdminAnyDatabase",
			"db": "admin"
		},
		{
			"role": "dbAdminAnyDatabase",
			"db": "admin"
		},
		{
			"role": "readWriteAnyDatabase",
			"db": "admin"
		},
		{
			"role": "executeFunctions",
			"db": "admin"
		}
	]
}

Where executeFunctions is a custom role:

{
	"role": "executeFunctions",
	"privileges": [
		{
			"resource": {
				"anyResource": true
			},
			"actions": [
				"anyAction"
			]
		}
	],
	"roles": [ ]
}

Developer note

Tech stacks

Built with Kotlin in mind, this app is fully written in Kotlin and using some Kotlin-based frameworks:

  • Kotlin for JVM
  • Preview version of Kotlin NoSQL Framework
  • Kotlin Coroutines
  • Gradle Kotlin DSL

Others include:

  • MongoDB server.
  • Google's Guava, used mainly for its powerful multimap.
  • Joda-Time and SLF4J, brought by Kotlin NoSQL.
  • Apache POI and some of its commons libraries.
  • Personal libraries.

How to build

To open the project, you're going to need Oracle JDK 1.8, IntelliJ IDEA and optional SceneBuilder. Testing the app requires authenticated MongoDB server over IP address (or localhost).

Then, simply follow steps below to build [releases]:

  • Apply ktlint IDE settings (preferably in default-level, not project), if not already.
  • Run ./gradlew clean build, it will automatically perform additional tasks in the process.
    • Generate sources in app/build/generated.
    • Check Kotlin code style.
    • Ensure all test specs are successful.
  • Use [shadowJar] and packr to build native packages from jar with following steps.

openpss's People

Contributors

hanggrian avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  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.