This is just a mini toy project
inspired by retro video games and developed to practice concepts from the Web Systems course (Computer Science degree, UPV/EHU), in preparation for the exam.
It's a simple lootbox system where you can open a chest, reveal random items, and add them to their inventory. Because I am a bit of a nerd, I've added some lore as a minor touch for each item's background, in a form of tooltips
:
- Click the chest to reveal a random item.
- Click revealed items to your inventory.
- Admins can add new items to the lootbox pool.
- Reset your inventory anytime.
I've used a small combination of tools and libraries:
- Node.js
- Express for backend's API.
- MongoDB + Mongoose: Database and ODM.
- Multer: File upload handling.
- Bcrypt: Password hashing for secure auth.
- Web app: Loot-box (it uses free cloud hosting so it might be a bit slow)
Docker
image: Docker Hub Note: You can just use fake data when regestering, the e-mail doesn't need to exist at all.
- Clone the repository.
- Install dependencies:
npm install
- Start the server:
npm start
- Visit the app in your browser.
Enjoy it!