#Market mate STOCK MANAGEMENT API
Market Mate, kullanıcıların ürünleri satın almasına, satış yapmasına ve envanter yönetimini kolaylaştırmasına olanak tanıyan kapsamlı bir uygulamadır.
-
users: Kullanıcı bilgilerini içerir.
id: Kullanıcı IDusername: Kullanıcı adıpassword: Şifreemail: E-postafirstName: AdlastName: SoyadisActive: Aktiflik durumuisStaff: Personel olup olmadığıisAdmin: Admin olup olmadığıcreatedAt: Oluşturulma tarihiupdatedAt: Güncellenme tarihi
-
sales: Satış işlemlerinin detaylarını kayıt eder.
id: Satış IDuserId: Kullanıcı IDbrandId: Marka IDproductId: Ürün IDquantity: Miktarprice: FiyatpriceTotal: Toplam FiyatcreatedAt: Oluşturulma tarihi
-
categories: Ürün kategorilerini listeler.
id: Kategori IDname: Kategori adıcreatedAt: Oluşturulma tarihiupdatedAt: Güncellenme tarihi
-
products: Ürün detaylarını içerir.
id: Ürün IDcategoryId: Kategori IDbrandId: Marka IDname: Ürün adıquantity: MiktarcreatedAt: Oluşturulma tarihiupdatedAt: Güncellenme tarihi
-
brands: Farklı ürün markalarını içerir.
id: Marka IDname: Marka adıimage: ResimcreatedAt: Oluşturulma tarihiupdatedAt: Güncellenme tarihi
-
firms: Satın alımlarla ilişkili firmaların detaylarını içerir.
id: Firma IDname: Firma adıphone: Telefon numarasıaddress: Adresimage: ResimcreatedAt: Oluşturulma tarihiupdatedAt: Güncellenme tarihi
-
purchases: Satın alma işlemlerinin detaylarını kayıt eder.
id: Satın alma IDuserId: Kullanıcı IDfirmId: Firma IDbrandId: Marka IDproductId: Ürün IDquantity: Miktarprice: FiyatpriceTotal: Toplam FiyatcreatedAt: Oluşturulma tarihiupdatedAt: Güncellenme tarihi
Market Mate is a comprehensive application that allows users to purchase products, make sales, and facilitate inventory management.
-
users: Contains user information.
id: User IDusername: Usernamepassword: Passwordemail: EmailfirstName: First NamelastName: Last NameisActive: Active StatusisStaff: Whether the user is a staff memberisAdmin: Whether the user is an admincreatedAt: Creation DateupdatedAt: Update Date
-
sales: Records details of sales transactions.
id: Sale IDuserId: User IDbrandId: Brand IDproductId: Product IDquantity: Quantityprice: PricepriceTotal: Total PricecreatedAt: Creation Date
-
categories: Lists product categories.
id: Category IDname: Category NamecreatedAt: Creation DateupdatedAt: Update Date
-
products: Contains product details.
id: Product IDcategoryId: Category IDbrandId: Brand IDname: Product Namequantity: QuantitycreatedAt: Creation DateupdatedAt: Update Date
-
brands: Contains information about different product brands.
id: Brand IDname: Brand Nameimage: ImagecreatedAt: Creation DateupdatedAt: Update Date
-
firms: Contains details about firms associated with purchases.
id: Firm IDname: Firm Namephone: Phone Numberaddress: Addressimage: ImagecreatedAt: Creation DateupdatedAt: Update Date
-
purchases: Records details of purchase transactions.
id: Purchase IDuserId: User IDfirmId: Firm IDbrandId: Brand IDproductId: Product IDquantity: Quantityprice: PricepriceTotal: Total PricecreatedAt: Creation DateupdatedAt: Update Date
.env
.gitignore
index.js
package.json
readme.md
src/
config/
dbConnection.js
swagger.json
controllers/
auth.js
brand.js
category.js
firm.js
product.js
purchase.js
sale.js
token.js
user.js
helpers/
passwordEncrypt.js
sendMail.js
middlewares/
authentication.js
errorHandler.js
findSearchSortPage.js
logger.js
permissions.js
upload.js
models/
brand.js
category.js
firm.js
product.js
purchase.js
sale.js
token.js
user.js
routes/
auth.js
brand.js
category.js
document.js
firm.js
index.js
product.js
purchase.js
sale.js
token.js
user.js