Init_db is now named "seedData". Fixed table definitions and added initial seedData to file.
Fixed createProducts db adapter.
Fixed createUser db adapter.
Changed routes on client, index.
Modified API routes - products.js to contain code in try/catch blocks
Edited/comment out code to allow app.js to render on the following components:
deleted: src/api/index.js
deleted: src/auth/auth.jsx
modified: src/components/AllProducts.jsx
modified: src/components/App.jsx
modified: src/components/Cart.jsx
modified: src/components/Login.jsx
modified: src/components/LogoutButton.jsx
modified: src/components/Modal.jsx
modified: src/components/OrderData.jsx
modified: src/components/Product.jsx
modified: src/components/Register.jsx
modified: src/components/UserData.jsx
modified: src/components/index.jsx
modified: src/index.jsx
Init_db is now named "seedData". Fixed table definitions and added initial seedData to file. Fixed createProducts db adapter. Fixed createUser db adapter. Changed routes on client, index. Modified API routes - products.js to contain code in try/catch blocks Edited/comment out code to allow app.js to render on the following components: deleted: src/api/index.js deleted: src/auth/auth.jsx modified: src/components/AllProducts.jsx modified: src/components/App.jsx modified: src/components/Cart.jsx modified: src/components/Login.jsx modified: src/components/LogoutButton.jsx modified: src/components/Modal.jsx modified: src/components/OrderData.jsx modified: src/components/Product.jsx modified: src/components/Register.jsx modified: src/components/UserData.jsx modified: src/components/index.jsx modified: src/index.jsx
Added: API routes for order_products