AN inventory management system i made for a client
there arent many devlogs cuz i made this for a client and couldn't share the project until it was completed. I had been working on this project since SOM and anticipated that it would be complete…
AN inventory management system i made for a client
there arent many devlogs cuz i made this for a client and couldn’t share the project until it was completed. I had been working on this project since SOM and anticipated that it would be complete within a month….boy was I wrong! About the project itself, it uses next.js with next api routes and mongo db for the backend. I used tailwind css for styling.The WORST THING about it was how I had to calculate different statistics like for example, profit is calculated per order and is defined as Summation [(qty x order nth item sale price) - (qty x order nth item purchase price)] not too difficult right? accept, what if an order contains a deleted item? what if an order contains an item for which the sale/purchase price was updated? If you used the latest values, the profit for that month would update too. So to overcome this I had to track the item prices but then I forgot to make it backwards compatible too which took a month
Used github copilot for code completions and debugging and for coming up with the readme