stardance has been extended another month! the new deadline is october 31 :)

You are browsing as a guest. Sign up (or log in) to start making projects!

1h 24m 18s logged

Date: August 18, 2026Project: JavaBites 2.0okay so i finally sat down and decided to actually do something with my food ordering system. like it was just sitting there as a basic mini project and i felt bad for it lolso the plan is to turn it into a proper restaurant management system. two sides — customer and admin. customer can login, order food, pay, see history. admin can manage the menu, see reports etc. calling it JavaBites 2.0 for now which sounds cool enoughtoday was mostly setup and models. made 4 packages — models, services, payment, utils. felt like a real dev doing that nglthen started writing classes. User.java first — just name phone password, nothing special. but then extended it into Customer and Admin using inheritance and that’s where it got interesting. like i never really got why inheritance existed before but today it just made sense. why copy paste the same fields into two classes when you can just go “hey this class is a User but with extra stuff”also rewrote FoodItem — added category and availability so admin can actually control what’s on the menu. small thing but makes it feel 10x more realenum was new for me today. made OrderStatus with like PENDING CONFIRMED PREPARING DELIVERED CANCELLED. honestly should’ve been using enums way earlier, so much cleaner than hardcoding strings everywhereand then Order.java — biggest change was switching from two ArrayLists to a HashMap for the cart. took me a second to wrap my head around Map.Entry but got there eventually next up is the payment package — Cash Card UPI all using interfaces. also really need to push this to github i keep saying that and not doing it 💀good session though, feels like the project is actually going somewhere now

0
4

Comments 0

No comments yet. Be the first!