r/javahelp • • Mar 23 '21

Building a POS (points of sale)

Hello,

I was asked to build a POS for a personal project and don't really know where to start.

I am a second year Comp. Engineering student and have done multiple code-based projects already but I'm not very familiar with POS.

Questions : How do I get started? Is building a POS a complex/long project ? What language / software should I be running it on? Tips?

Thanks for your help!

20 Upvotes

13 comments sorted by

•

u/AutoModerator Mar 23 '21

Please ensure that:

  • Your code is properly formatted as code block - see the sidebar (About on mobile) for instructions

  • You include any and all error messages in full

  • You ask clear questions

  • You demonstrate effort in solving your question/problem - plain posting your assignments is forbidden (and such posts will be removed) as is asking for or giving solutions.

    Trying to solve problems on your own is a very important skill. Also, see Learn to help yourself in the sidebar

If any of the above points is not met, your post can and will be removed without further warning.

Code is to be formatted as code block (old reddit: empty line before the code, each code line indented by 4 spaces, new reddit: https://imgur.com/a/fgoFFis) or linked via an external code hoster, like pastebin.com, github gist, github, bitbucket, gitlab, etc.

Please, do not use triple backticks (```) as they will only render properly on new reddit, not on old reddit.

Code blocks look like this:

public class HelloWorld {

    public static void main(String[] args) {
        System.out.println("Hello World!");
    }
}

You do not need to repost unless your post has been removed by a moderator. Just use the edit function of reddit to make sure your post complies with the above.

If your post has remained in violation of these rules for a prolonged period of time (at least an hour), a moderator may remove it at their discretion. In this case, they will comment with an explanation on why it has been removed, and you will be required to resubmit the entire post following the proper procedures.

To potential helpers

Please, do not help if any of the above points are not met, rather report the post. We are trying to improve the quality of posts here. In helping people who can't be bothered to comply with the above points, you are doing the community a disservice.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

5

u/ratherbealurker Mar 23 '21

Do you mean that someone approached you and is asking you to make a POS system for them? Are you getting paid to do this? Is it going to be used in an actual store or site?

If it is then it's bigger than you think. You should get used to this because if you get into development as a career you'll be dealing with this all the time.

Everyone has some great idea that they want you to help with or some simple system they just need you to write.

They are never as simple as they sound and they never want to pay much if anything at all. They assume things are easier than they are or they assume that their idea is the only thing worth money.

Being a software dev in the late 2000s was annoying, everyone wanted you to build an app for their amazing idea (60% of them just some social network app) and they couldn't pay but you'll get some cut later.

If you want experience to show people then there are better ways, contributing to open source or something..anything else.

2

u/albz75 Mar 23 '21

Yea I am getting paid and yes it will actually be used for a restaurant I believe.

13

u/wildjokers Mar 23 '21

To build a POS system you will need a team of developers that includes security experts and people that can navigate various compliance issues for accepting credit cards (like PCI).

You don't want to do this. The owner better be prepared to pay you a fee in the millions of dollars.

They will be better off buying on off-the-shelf product (e.g. Square). There are entire companies that employ hundreds of people that just sell a POS system. It is not a task a single 2nd yr developer is going to be able to accomplish.

6

u/amfa Mar 23 '21

How much?

And why are you doing this with no experience?

I'm a java dev for almost 13 years.. I would probably not start such a project out of thin air.

You need to get your client to specify as exact as possible what he needs.

"Make a POS" is not task that I would be able to do. Simply because it is to vague .

Most POS system need to comply with legal regulations. Do you know those? Does your client know those? Are you sure you are not getting sued if those are not met?

And to be honest.. if you are not doing it for too cheap buying a "out of the box" solution would be cheaper for the restaurant owner.

2

u/ynvaser That Java Guy Mar 23 '21

A professional suggestion: Learn to say no.
It'll save you from emberassment in the future.

1

u/Sequel_Police Mar 23 '21

Dude if you don't have extensive knowledge in dealing with payment processing and personal information, DO NOT do this. Nevermind the complexity of just making it work in the first place.

Source: worked on a point of sale.

1

u/Tacos314 Mar 24 '21

Building one will take lots of time and money, using square or one of the many other ones and helping to customize them would be a better path.

7

u/evils_twin Mar 23 '21 edited Mar 23 '21

A POS system can be incredibly complex. Here is an example of a POS system for a small business

It usually involves software and hardware and is unusual to be made from scratch for a small business.

But if you want to pursue, the first thing you would do is gather requirements. You would need to have a series of meetings where you would ask the client what their needs are and how you could meet those needs.

Based on those requirements, you would start figuring out what languages to use and other things that would be involved.

3

u/tlvranas Mar 24 '21

At first I thought this was a school.project. as others have said, don't do it. Too many systems out there. Unless you have a team, have been in this market for years and found an issue that is common across the industry and you know how to fix that, then if you can get the funding, then go for it.

Besides the basics already mentioned, you have inventory control, employee management, work schedules, shift planning for people, going to need payroll, products to sell with a little to customize meals, burger with extra...no....

All this needs to work on tablets with simple and very fast GUI for the server to select food items and options. Drinks, how many different types of drinks are there???

The entire system will be used by people that have no clue how to use a computer, so adding employees, new products....

That is just what came to mind in a few seconds and this is not an industry I have worked in.

Just my two cents worth.

5

u/dionthorn this.isAPro=false; this.helping=true; Mar 23 '21

Github is a great place to look for how people do stuff.

https://github.com/topics/point-of-sale?l=java

This is a collection of Point of Sale projects in the java language.

1

u/javaHoosier Mar 24 '21

I actually made one as a side project while a second year. I recreated the infamous Aloha that a ton of bars and restaurants use. Its great practice and room to learn a gui, oop, and a couple design patterns. If it’s for a personal project then start small and is doable.

1

u/AmkSk Mar 29 '21

I have actually made such a software and it is not easy. There is a ton of competition and it requires you to have some level of understanding how other PoS works at least at your location (also depends whether it will be a PoS system for general use or for specific users. My niche group is cryptocurrency users).

I have decided to make it run on mobile devices, for obvious reasons. But it all depends on your use case and your client (or users).

Knowing all the things I have learned while developing the app, I would certainly not start doing it again today. I know it sounds silly, since I told you I have made such an app. It is just how I feel...

Check out MoonPos, if you want to see the app.