Vending Machine
Tech Stack
- Next.js
- TypeScript
- TypeORM
- MySQL
- SQLite
- SWR
- JSON Web Tokens
- Yup
- Formik
- CSS Modules
- SCSS
- Jest
- Supertest
- ESLint
- Prettier
- Stylelint
- pino
Features
- Users can register and login to the vending machine
- Updating profile information and deleting a profile is possible
- A "seller" can add, edit and delete products (product price must be dividable by 5)
- A "buyer" can deposit money (5, 10, 20, 50 and 100 cent coins), reset the deposit and buy products
- Users get notified, while logging in, if there is already an active login
- Users can terminate all active logins