This is a simple vending machine API built with NextJS.
- User registration with roles (buyer or seller)
- Deposit update for buyers
- Product addition by sellers
- Purchases by buyers
- 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.