872 B
872 B
Beer-inventory project for home use.
Used technology:
- remix.run (now known as react router)
- prisma
- zenstack
Limitations:
- Dependencies cannot be updated
- Project needs to work locally without online dependencies
- Project needs to work with existing database
- The project is turned off when not in use, so needs to be started quickly when needed
Architecture:
- server-client together in the same file, as per remix-run
- react for frontend
- three levels
- user (can view the website on their phone)
- scanner (the physical raspberry pi with barcode scanner at the fridge)
- admin (me, the developer that can access and update everything)
Building and validation:
npx remix vite:build to build the project and check for errors
npx remix vite:dev to run the project in live dev mode
npx remix routes to validate all routes are present and correct