FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
ERP System Deep Debugging — Test Pass Rate from 1 to 36
How-ToWeb Development

ERP System Deep Debugging — Test Pass Rate from 1 to 36

via Dev.to Webdevlinou5181mo ago

techsfree-web-03: ERP System Deep Debugging — Test Pass Rate from 1 to 36 Project Status The TechsFree ERP system (Laravel 10 + Vue 3 + Docker) has completed its main development phase. This round focused on debugging the test suite, fixing hidden bugs, and improving code reliability. Three Fundamental Fixes 1. Frontend Network Error: Relative Paths Over Hardcoded URLs The frontend build hardcoded the API address as http://localhost:8000/api/v1 , completely inaccessible in production. Fix: changed frontend/.env to VITE_API_URL=/api/v1 , letting Nginx proxy handle routing without depending on specific service addresses. 2. DatabaseSeeder Crash: auto_increment Accumulation Repeatedly running seeders caused auto_increment values to accumulate, making hardcoded IDs (e.g., product_id=1 ) unable to find their records — triggering foreign key constraint errors. Fix: // Clear all tables at start of DatabaseSeeder DB :: statement ( 'SET FOREIGN_KEY_CHECKS=0;' ); DB :: statement ( 'TRUNCATE TABL

Continue reading on Dev.to Webdev

Opens in a new tab

Read Full Article
18 views

Related Articles

Developer Leave Planning: How to Handoff Projects Before FMLA Starts
How-To

Developer Leave Planning: How to Handoff Projects Before FMLA Starts

Dev.to • 1w ago

Engineering Principles for Life, Not Just for Code
How-To

Engineering Principles for Life, Not Just for Code

Medium Programming • 1w ago

Best Laptops (2026): My Honest Advice Having Tested Hundreds
How-To

Best Laptops (2026): My Honest Advice Having Tested Hundreds

Wired • 1w ago

GE Profile Smart Grind and Brew Review: Just the Basics
How-To

GE Profile Smart Grind and Brew Review: Just the Basics

Wired • 1w ago

How I Would Learn Data Engineering in 2026 If I Started From Zero
How-To

How I Would Learn Data Engineering in 2026 If I Started From Zero

Medium Programming • 1w ago

Discover More Articles