Skip to content

With Study Buddy, you adopt a virtual pet study buddy who becomes your study companion and motivator. Set daily or weekly goals and reminders, track progress, and connect with your Canvas account. Watch your pet react to your accomplishments and earn candies to feed them to watch them grow!

Capstone-Projects-2023-Spring/project-virtual-pet

Repository files navigation

Open in Codespaces

Study Buddy

Documentation Website Link Resources Link

Website

Directions

  • Please navigate to our app by clicking this link. (NOTE: DNS propagation takes a long time with Temple University so the link to the site will not work when using the school's wi-fi - tusecurewireless. Please connect from another network). Once there, you can create an account, select a pet, and explore the site.
  • Study Buddy is a Progressive Web App (PWA). This means it's a web site that you can use in your browser, or it can be downloaded to your device and used like an app.
    • On iOS: Open Safari and navigate to the site. Press the "Share" button and select "Add to Home Screen" from the popup. Lastly, tap "Add" in the top right corner to finish installing the PWA. It will now be on your home screen.
    • On Android: Open Chrome and navigate to the site. Press the "three dot" icon in the upper right to open the menu. Select "Add to Home screen." Press the "Add" button in the popup. The PWA is now installed and available on your home screen. Study buddy pwa instructions!
  • If you encounter any bugs or issues, please visit our documentation site and click on the "Report Bug" button located on the right-hand side of the page. This will take you to a feedback form where you can provide details about the problem you encountered.

Keywords

Section 704, web application, JavaScript, HTML, CSS, Python, Django, education, learning, studying, goals, reminders, virtual pet

Project Abstract

This document proposes a progressive web application that combines the benefits of gamification and personal development to enhance the study experience. The application allows Users to take care of a virtual pet, which serves as a study companion and motivator. Users can set daily or weekly goals, set reminders, track their progress, and connect with their Canvas accounts to track assignments. Progress on these goals will directly influence the virtual pet’s appearance and mood, inspiring feelings of motivation, companionship, responsibility, and solidarity in the User. By using this application, Users will have an engaging and effective way to improve their academic performance.

High Level Requirement

The app requires an internet connection to function, and can be accessed on any device with a modern web browser. Users can set study goals, track their progress, and connect with their Canvas account. The user will be rewarded for achieving their study goals through a point system, where the number of points given will depend on the size of the task completed. After reaching a certain number of points, the user’s pet will level up. The app also integrates with Canvas, allowing the user to access and keep track of their assignments. Users can name their pet and interact with it, and perform tasks on their schedule that directly affect their pet’s condition and mood.The pet’s mood and appearance will be influenced by the user’s ability to achieve their goals.

Conceptual Design

The frontend of the app will be built using JavaScript, React, HTML, and CSS. React will be used to build UI components and manage the state of the application, and JavaScript, HTML, and CSS will be used to create the User interface and handle User interactions. The backend will be built using Python and Django to handle User authentication and authorization, data storage, and the algorithms that determine how the virtual pet's appearance changes based on the student's study habits. SQLite will be used to store the User's data, such as their study goals, progress, and rewards. The application will also integrate with Canvas to allow students to track their assignments and classes and include them as personal study goals.

Background

Similar products include My Study Life and Quizlet. These are both closed-source products that aim to help students improve their academic performance. My Study Life is an online student planner which allows students to keep track of their deadlines and classes. Quizlet allows students to create flashcards and quizzes to study for their classes. Study Buddy App is similar to these products in that the goal is to provide resources to help students succeed academically and stay on top of their coursework. However, this app also incorporates the unique aspect of a virtual pet companion to help them stay motivated to study. Study Buddy app will include some of the same features as Quizlet and My Study Life, like setting reminders or creating and linking to study materials.

Another closed-source mobile application, titled Finch, involves taking care of a virtual pet to achieve self-care goals. Habitica is an open-source web application which helps users gamify their life by allowing them to set goals for keeping up with personal habits. Incorporating the concept of caring for a pet and gamifying personal and academic tasks, as in this application, with the features of a study app, will allow users a more personalized and fun experience to succeed in their academic pursuits.

Required Resources

Research will need to be conducted on the various software resources needed to complete this project, including JavaScript, React, HTML/CSS, Django, SQLite, and Canvas API. React will be used for the front-end, Django for the back-end, and a combination of a SQLite Database with a schema defined and managed by Django and a Static File store. A required resource is an Ubuntu server which will either be run on an old laptop or a hosting service will be used. No other hardware resources are required.

Local Build Instructions

Prerequisites

  • Python 3.8 or higher

  • pip3 22 or higher

  • npm 8 or higher

A secret key and a gmail password will be required in backend .env file for the project to run correctly. If you are an approved developer on this project, reach out to your team lead to receive the requisite credentials. Modification of the backend code source code will be required in order to send email verifications on user registration. Our team is happy to assist in guiding you through this process.

Set Up

  1. Download the zip file in the release and open. Open a terminal, then navigate to the project directory.

  2. Insert your development keys to ~/sb/backend/.env

SECRET_KEY=<YOUR-KEY>
GMAIL_PASSWORD=<YOUR-PASSWORD>
  1. Navigate to the backend:
cd <your-path>/sb/backend 
  1. Activate a Python virtual environment and install dependencies:

(MacOS/Unix)

source tutorial-env/bin/activate
pip3 install -r requirements.txt

Windows

tutorial-env\Scripts\activate.bat
pip3 install -r requirements.txt
  1. Activate the backend with the following instructions:
python3 manage.py makemigrations
python3 manage.py migrate
python3 manage.py runserver
  1. Now, open a new terminal and from the project directory, navigate to the frontend:
cd <your-path>/sb/frontend
  1. Build the frontend as follows. Dependencies will be downloaded and compiled for you:
npm install 
npm run build 
nmp start
  1. In your browser, navigate in the search bar to http://localhost:3000.

Collaborators

mgclay
Mary Clay
ccho-0508
Christine Cho
Alexander-Russakoff
Alexander Russakoff
katrinajaneczko
Katrina Janeczko
harrisonfedor
Harrison Fedor
jay-newman
Jay Newman
ApplebaumIan
Ian Tyler Applebaum

About

With Study Buddy, you adopt a virtual pet study buddy who becomes your study companion and motivator. Set daily or weekly goals and reminders, track progress, and connect with your Canvas account. Watch your pet react to your accomplishments and earn candies to feed them to watch them grow!

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published