Vending Machine - NextJS

This is a simple vending machine API built with NextJS.

Features

  • User registration with roles (buyer or seller)
  • Deposit update for buyers
  • Product addition by sellers
  • Purchases by buyers

Modules

  • AuthModule: Handles user authentication and authorization
  • UsersModule: Handles operations related to users.
  • ProductsModule: Handles operations related to products.
  • TransactionsModule: Handles the buying logic and tracks transactions.