Enhance CarModifications component by integrating API calls for fetching modifications and customers, implementing a dialog for adding modifications to customers, and improving error and success message handling. Refactor state management and UI elements for better user experience.

This commit is contained in:
Alvin
2025-06-12 09:38:03 +02:00
parent 1ac852f2a1
commit f66670137b
11 changed files with 516 additions and 234 deletions

View File

@@ -24,6 +24,7 @@ app.use('/api/auth', require('./routes/auth'));
app.use('/api/users', require('./routes/users'));
app.use('/api/customers', require('./routes/customers'));
app.use('/api/contacts', require('./routes/contacts'));
app.use('/api/modifications', require('./routes/modifications'));
const PORT = process.env.PORT || 5000;
app.listen(PORT, () => console.log(`Server running on port ${PORT}`));