Creating admin pages, new brand API endpoint

This commit is contained in:
2024-09-25 15:42:05 +02:00
parent cbd01f6d59
commit f41cf1ba90
28 changed files with 417 additions and 76 deletions

View File

@@ -7,6 +7,7 @@ import { category } from './routes/category.routes'
import { product } from './routes/product.routes'
import { order } from './routes/order.routes'
import { account } from './routes/account.routes'
import { brand } from './routes/brand.routes'
const app = express()
const port = 3000
@@ -35,6 +36,7 @@ app.use("/categories", category)
app.use("/products", product)
app.use("/orders", order)
app.use("/accounts", account)
app.use("/brands", brand)
// Start server