TLDR;
We need to scale up our poorly designed web app to more manufacturing facilities, not concerned about security aspect too much.
More elaborate background:
Our parent company recently acquired new manufacturing facilities and they are struggling to keep up with us. Main problem is lack of efficient setups, tracking and maintenance.
We were in the same boat about 10 years ago, but hacked it away by putting together internal tools and a web app used for manufacturing. It is relatively simple, Laravel based, and keeps track of products, machine setups, maintenance, tooling developmentā¦
We are NOT professional developers, just enthusiastic bunch who develop and manufacture tooling for factory floor (like die cutter tools, injection tooling, thermoforming tooling, glue protocols) and needed a way to make things faster, more accurate and more predictable.
Since we cannot provide any reliable security, IT walled us of to our little corner of the network and port forwarded very limited set of machines. We issue Letās Encrypt certificates via script that requests NAT to our web server, than renews and port closes 1 minute later or on our request - whichever is first.
The app itself is a bit of a horror show, developed in more naive days where we only have relationships between User and Product models, and each machine setup, tools, any documentation, maintenance logs, error reporting and everything else is crammed inside Product. I know -
.
Iām inclined to just port it over to latest Laravel since the framework just sort of clicked for me from very start and itās easy to build stuff even for noobs.
We have tried several off-the-shelf solutions over the years, but every single one required us to adapt to it instead of the other way around. Since we started using affordable Raspberry Pi Picos to gather live telemetry from our tools and count products as they pass by (and amusingly, doing it more precisely than some machines), no amount of SQL could handle that - we needed a time-series database, and most vendors were clueless when we asked about it.
I have few specific questions and some general ones:
-
What is your go to rich editor?
There is a bunch out there, but a lot appear to be online hosted, AI enhanced and similar bull crap. We need to enable better notes, wikis, error reports⦠-
How do you allow for reordering things?
My instinct is to just add apriorityfield and space values by, say, 20 (e.g., 20, 40, 60) to allow for easier reordering without a lot of updates.
I need a way for some users to change priority of manufacturing orders for parts. Am I being naive here? Is there a more standard or robust way of doing this? -
Data separation between teams.
Currently, we have roles and permissions baked in, and Iām considering adding a āteamsā feature to allow some form of data separationābasically, have a Team model to group users by factory/manufacturing facility. -
How do you approach designing āmodelsā.
Do you just go by feel? For example, each Product consists of multiple ProductParts manufactured on separate sets of machinery, and each Machine has its own set of data and shared MaintenanceLog, ErrorReport, etc. How do you map this? Do you just use a whiteboard and a set of colored markers, or do you have better ways to do it? We may need to consult other facilities since we donāt actually know their production very well. -
What would you wish you knew when you only got started?
What mistakes have you made when you started building apps? What do you wish you had looked into more in depth before starting your next project?
I did ask AI, but at this point I have a feeling itās just reinforcing my misguided or just plain bad ideas.
Iām looking to get it done in about a month, and if it works well for other facilities great - I get paid more and piss off SAP people at the same time
.
Thank you everyone for your insights!