🚀 Built a Mini Online Code Judge github: https://lnkd.in/dctjcFBC I recently developed a lightweight Mini Judge using Java Spring Boot and Vanilla JavaScript — inspired by platforms like Codeforces & HackerRank. 💡 What it does: • Write and run Java code directly in the browser • Provide custom input before execution • Get real-time output instantly • Navigate across multiple coding questions ⚙️ Tech Stack: Frontend — HTML, CSS, JavaScript Backend — Java, Spring Boot Execution — ProcessBuilder (javac & java) Testing — Postman 🔍 Key Features: • Real-time compilation & execution • Compilation + runtime error handling • Input/Output based testing • Multi-question navigation • 5-second timeout to prevent infinite loops 🛠️ How it works: The frontend sends user code + input to the backend via REST APIs → backend compiles & runs the code → output is returned and displayed instantly. This project helped me understand how online judges work internally and improved my backend + system-level thinking. 👨💻 Author: Shailesh Sadanand Sonawane #Java #SpringBoot #WebDevelopment #Coding #Projects #SoftwareDevelopment #LearningByBuild
More Relevant Posts
-
🚀 Mastering Mockito for Full Stack Development In the world of full stack web development, writing reliable and maintainable code is just as important as building features. One tool that truly elevates backend testing is Mockito. 🔍 What is Mockito? Mockito is a powerful mocking framework for Java that allows developers to test components in isolation by simulating dependencies. 💡 Why Full Stack Developers Should Care: When working with frameworks like Spring Boot, your services often depend on databases, APIs, or external systems. Instead of testing everything together, Mockito helps you: ✅ Isolate business logic ✅ Speed up unit testing ✅ Avoid dependency on real databases or APIs ✅ Improve code quality and debugging 🛠️ Real-World Use Case: Imagine testing a REST API service. Instead of connecting to a real database, you can mock the repository layer and focus purely on service logic. This makes your tests faster and more reliable. 📌 Key Features: ✔️ Easy creation of mock objects ✔️ Behavior-driven testing (BDD style) ✔️ Seamless integration with JUnit ✔️ Reduces boilerplate code In today’s fast-paced development environment, tools like Mockito are not optional—they’re essential. #Java #FullStackDevelopment #Mockito #SpringBoot #SoftwareTesting #BackendDevelopment #CleanCode #DevTips
To view or add a comment, sign in
-
-
6 rules that'll help you write clean code: 1 Separation of Concerns (SOC) ↳ Break down a complex program into smaller units. ↳ Each unit should focus on a specific task. 2 Document Your Code (DYC) ↳ Write code for your future self and others. ↳ Explain complex code sections with comments & documentation. 3 Don't Repeat Yourself (DRY) ↳ Don't waste time writing the same code again. ↳ Instead use functions, modules & existing libraries. 4 Keep It Simple, Stupid (KISS) ↳ Simple is hard, but better. ↳ Readable code > clever code. 5 Test Driven Development (TDD) ↳ Write a failing test first. ↳ Write code to make the test pass. ↳ Then clean up the code without changing behaviour. 6 You Ain't Gonna Need It (YAGNI) ↳ Build only essential features. ↳ Don't build features you think you might need later. === Bottom line: Leave the codebase cleaner than you found it. Credits : Neo Kim #software #mern #nodejs #java #javascript #springboot #css3 #html5
To view or add a comment, sign in
-
-
Master Spring Boot Setup in Minutes! Are you looking to dive into Java Backend development but don't know where to start? I’ve just dropped a complete guide on setting up a Spring Boot project from scratch! In this tutorial, I break down: Using Spring Initializr like a pro Choosing the right Java versions (why Java 17 is key!) Adding essential dependencies (Web, JPA, Lombok) Running your first build with Maven Whether you are a student or an intermediate dev looking to refresh your workflow, this video has you covered. Watch the full tutorial here: https://lnkd.in/dhdx7wy3 Useful Resources from the video: Spring Initializr: https://start.spring.io Maven Installation Guide: https://lnkd.in/d3jKsdwn Spring Boot Docs: https://lnkd.in/dKeecXTF Don't forget to Like, Share, and Subscribe to the channel for more "Unshakable" dev content! #SpringBoot #JavaDevelopment #BackendDev #CodingTutorial #SpringFramework #Java17 #Maven #UnshakableDev
To view or add a comment, sign in
-
I just published ts-lombok-kit 🚀, a TypeScript library inspired by Java’s Project Lombok. If you’ve ever found yourself rewriting the same constructors, getters, setters, toString, and equals methods in TypeScript… this is for you. ts-lombok-kit eliminates boilerplate using compile-time AST transformations, meaning: ✔️ No runtime overhead ✔️ Code is generated before TypeScript even type-checks it ✨ Example Instead of writing 40+ lines of boilerplate: @Data class User { id: number; name: string; email: string; } // Constructor, getters, setters, toString, equals, all generated. Or go fully immutable with a fluent builder: @Record @Builder @With class Product { id: number; name: string; price: number; } const p = Product.builder() .id(1) .name('Widget') .price(9.99) .build(); const updated = p.withPrice(19.99); // new instance, p unchanged 🔧 What’s included @Record / @Value — immutable data classes @Data — getters + setters + toString + equals in one shot @Builder — fluent builder API @With — immutable copy-with updates @Singleton, @Log, @NonNull, and more ⚡ Bonus Works with TypeScript 5 native decorators, no experimentalDecorators flag needed. 📦 npm: https://lnkd.in/dp5dk43J 🌐 Docs: https://ts-lombok-kit.dev Would love your feedback and thoughts from the TypeScript community! ⭐ #TypeScript #OpenSource #DeveloperTools #WebDevelopment #JavaScript
To view or add a comment, sign in
-
-
My project just got its first CRUD upgrade. And honestly, it finally feels like a full fledged program. For the longest time, my expense tracker was functional but barely. You had to basically go through all the code itself to do anything. Want to add an expense? Go through all the code. Want to view them? Go through all the code. It felt like a half-baked project. The kind you'd never show anyone without saying "it's not ready yet" first. Well. Not anymore. I just added a full menu system to project. Now when you run the program, you're greeted with a clean interactive menu Pick a number. Do your thing. Come back to the menu. That's it. No digging through code. No hardcoding values. This is the moment where a project stops being a bunch of Java files and starts feeling like something you actually built. Foundation is getting stronger one feature at a time. If you are also building you project Drop it below in comments #Java #BuildingInPublic #ExpenseTracker #100DaysOfCode #Developer #JourneyPost
To view or add a comment, sign in
-
10 years of Java. These 6 tools are open on my screen every single day. 𝟎𝟏 · IntelliJ IDEA (with the right plugins) Don't just use it as a text editor. Learn the shortcuts. Use SonarLint, Rainbow Brackets, and HTTP Client built-in. It's a superpower most devs ignore. 𝟎𝟐 · Spring Boot DevTools Hot reload + automatic restart during dev. If you're restarting your server manually every time — stop. Now. 𝟎𝟑 · Postman + Newman CLI Postman for building. Newman for running your collections in CI. Your APIs should be tested like your code. 𝟎𝟒 · Docker + Testcontainers Stop mocking your DB in tests. Testcontainers spins up a real Postgres/Redis/Kafka instance for your tests. Game changer. 𝟎𝟓 · GitHub Copilot (carefully) Yes I use it. No, I don't trust it blindly. It's a fast first draft — not a final answer. Know the difference. 𝟎6 · Claude Use it wisely (especially with token limits in the free version 😜). It often outperforms GitHub Copilot, but AI can make mistakes, so treat it as an enabler, not a replacement for actual coding. Save this post. Share it with a junior dev on your team. What's the one tool YOU can't code without? Tell me below 👇 #JavaDeveloper #SpringBoot #DeveloperTools #IntelliJ #Docker #Testcontainers #GitHubCopilot #BackendDevelopment #Java #SoftwareEngineering #DevTools #Programming #TechTips #Claude #ClaudeCode #DSA
To view or add a comment, sign in
-
-
🚀 Day 12 — Created My First Spring Boot Project (Spring Initializr) Today I moved from theory → real coding 🔥 I created my first Spring Boot project using Spring Initializr 👇 💡 What is Spring Initializr? 👉 A tool to generate a ready-to-use Spring Boot project 👉 No need to configure everything manually ⚙️ Steps I followed: 1️⃣ Go to 👉 https://start.spring.io 2️⃣ Select: Project: Maven Language: Java Spring Boot Version: (stable) 3️⃣ Add dependencies: Spring Web 4️⃣ Click Generate 5️⃣ Open project in IDE (IntelliJ / VS Code / Eclipse) 📂 What I got: ✔ Ready project structure ✔ Main class with @SpringBootApplication ✔ Dependencies configured 💻 Run Project: 👉 Run main class @SpringBootApplication public class DemoApplication { public static void main(String[] args) { SpringApplication.run(DemoApplication.class, args); } } 👉 Server started at: http://localhost:8080 🚀 💡 What I learned: ✔ Spring Boot makes project setup super easy ✔ No manual configuration needed ✔ Ready to start building APIs 💬 Have you created your first Spring Boot project yet? Day 12 done ✅ #SpringBoot #Java #BackendDevelopment #LearningInPublic #30DaysOfCode #Developers
To view or add a comment, sign in
-
I’ve been structuring my Java projects using the classic package-based approach for a long time… until TODAY. I tried a feature-based structure — and honestly, it just clicked. Instead of spreading logic across controllers, services, repositories, and DTO packages, everything related to a single feature lives in one place. The difference is huge: • Easier to navigate — no more jumping across multiple packages • Better scalability — doesn’t turn into chaos as the project grows • Closer to real business domains (user, order, payment) • Refactoring becomes much simpler (even moving to microservices later) • Cleaner collaboration — fewer Git conflicts in teams It feels less like “organizing code by type” and more like “organizing by purpose”. For anyone building serious backend systems (especially with Spring Boot), I’d definitely recommend trying feature-based structure at least once. Curious — are you still using package-based, or have you switched already? #java #springBoot #spring #code
To view or add a comment, sign in
-
-
🚨 Today wasn’t about solving problems… it was about fixing what was broken. Day 37 of my Backend Developer Journey — and honestly, 👉 this felt more like a real developer day 🧠 LeetCode Breakthrough Solved today’s Daily Challenge using Median + Math Optimization 💡 What clicked: → Flatten the grid into a single array → Check if all elements follow same modulo → Use median to minimize operations ⚡ The Real Trick 👉 If modulo condition fails → impossible ❌ 👉 If valid → median gives minimum operations ✅ 🔍 Key Insight 👉 Median minimizes absolute differences 👉 Math-based optimization beats brute force 🔗 My Submission: https://lnkd.in/gf43YBkq ☕ Spring Boot Learning 🐛 Debugging Day (Real Dev Life) Today was not smooth… and that’s okay 👇 👉 Faced issues with Lombok + Java 24 👉 Switched back to Java 21 👉 Bugs reduced, but still debugging ⚡ What I learned 👉 New versions ≠ always stable 👉 Compatibility matters more than hype 👉 Debugging is a core developer skill 🔌 Database Progress 👉 Successfully connected PostgreSQL to my server 👉 Backend is now interacting with real data 🧠 The Shift 👉 Not every day is productive — but every day teaches 👉 Debugging builds deeper understanding than coding 👉 Real growth happens when things don’t work 🔗 GitHub Repo (Lovable Clone): https://lnkd.in/gwHmAZaK 📈 Day 37 Progress: ✅ Learned median optimization technique ✅ Handled real-world debugging issues ✅ Connected DB to backend successfully 💬 What’s one bug that taught you more than any tutorial? 👇 #100DaysOfCode #BackendDevelopment #SpringBoot #Java #LeetCode #Debugging #CodingJourney
To view or add a comment, sign in
-
-
When I look at a Java codebase for the first time, I don't start with the business logic. Here's exactly what I check in the first 30 minutes — and what it tells me about the team that built it. ─── MINUTE 0–5: The build file ─── How many dependencies are there? Are versions pinned or floating? Is there anything in there that shouldn't exist? A bloated pom.xml tells me the team added without ever removing. Technical debt starts here. ─── MINUTE 5–10: The package structure ─── Is it organised by layer (controller/service/repo)? Or by feature (orders/users/payments)? Neither is wrong. But inconsistency tells me nobody agreed — and that means nobody was leading. ─── MINUTE 10–15: Exception handling ─── Are exceptions caught and swallowed silently? Are there empty catch blocks? Is there a global exception handler? Empty catch blocks are where bugs go to hide forever. ─── MINUTE 15–20: The tests ─── What's the coverage? (Not the number — the quality) Are they testing behaviour or implementation? Do they have meaningful names? A test named test1() tells me everything I need to know. ─── MINUTE 20–25: Logging ─── Is there enough to debug a production issue? Is there too much (log noise)? Are sensitive fields being logged? (Passwords, tokens, PII) ─── MINUTE 25–30: @Transactional usage ─── Is it applied correctly? Is it on private methods? (Silently ignored) Is it on everything? (Misunderstood) By the time I'm done, I know the team's level, their communication habits, and where the bodies are buried. What's the first thing YOU look at in a new codebase? 👇 #Java #CodeReview #SpringBoot #BackendDevelopment #SoftwareEngineering #JavaDeveloper #CleanCode #Programming
To view or add a comment, sign in
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development
👏great work.