Aviquest is a gamified task manager application that allows users to create their own real life tasks and complete them to receive rewards. Every user will start off with an Avitar character that they can be customized and embark on quests. With each task that the user completes, they can progress and complete quest to earn rewards that can be used to purchase weapons and equipment. The application aims to incentivize users for completing tedious chores and mundane tasks to help them complete tasks and build good habits.
- MongoDB - NoSQL database management program that uses JSON-like documents with optional schemas.
- Express - Backend web application for building RESTful APIs with Node.js.
- React - Open source frontend library.
- Node.js - Open source backend JavaScript runtime environment.
- Amazon Simple Storage Service (Amazon S3) is an object storage service cloud service.
User can use gold from quest completion to spend in the Gachapon Reward system. An item is randomly selected and distributed to the user's inventory.
const equipItem = () => {
let index;
if (equipment.length < 4) {
index = items.indexOf(item);
items.splice(index, 1);
equipment.push(item);
} else {
items.push(equipment[0]);
equipment.shift();
index = items.indexOf(item);
items.splice(index,1);
equipment.push(item);
}
dispatch(updateUser({
equipment,
items,
_id
}));
}
useEffect(() => {
if (moving) {
setItemData(itemList[index]);
const count = setInterval(() => {
setIndex(Math.floor(Math.random() * itemList.length))
},60);
return () => {
clearInterval(count);
};
} else if (!moving && reward && itemList[index] && items.length < 24){
newItems.push(itemList[index])
dispatch(updateUser({
_id,
coins: coins -50,
items:newItems,
}))
} else {
return;
}
},[index,moving]);
- Implement a shop system
Implement gachapon reward system - Implement regenerating daily action points