- Authentication: login, register, forget password.
- Proactive tracking behavior: take photos, record videos and fill in the behavior.
- Automated tracking behavior : collect sensor data on the user's phone.
- View submitted behavior history.
- Profile management: change name, change password, privacy manage, notification manage,... .
We name this application: Happy App. This thesis investigates human behavior in the context of smartphone usage, acknowledging the potential for tracking and analyzing these behaviors as a valuable resource for research in social activities such as eating, drinking, health tracking, fitness, etc. Recognizing that the understanding of human behavior in this digital realm extends beyond academia, it holds tangible real-world implications. By leveraging the data obtained from smartphone interactions, this research aims to provide insights that can be harnessed to enhance public health, encourage sustainable practices, and stimulate community engagement. In summary, human behavior in smartphone usage represents a multifaceted subject with significant implications for research, offering a means to gain valuable insights into our actions and their broader impact on society.The central concept behind this thesis revolves around the development of a smartphone application designed to collect data on students' eating and drinking behaviors.
+ Project folder structure: By kind
+ The project is divided into 2 parts: Client uses Android Studio Java, Server uses NodeJS
- Installation
- Usage
- Technologies Used
- Contributing
- License
To install and run the client and server, follow these steps:
- Clone the repository:
- Server folder:
- Client folder:
https://github.com/tndTool/HappyApp.git
Using Visual Studio Code
--------------------------
Open terminal (you can use keyboard shortcut: Ctrl + J)
--------------------------
Type on terminal:
cd ../server
npm install
--------------------------
Fill in the .env file information completely according to the path ..\HappyApp\server\.env
--------------------------
Type on terminal:
npm start
Using Android Studio
--------------------------
Sync Project with Gradle Files (you can use keyboard shortcut: Ctrl + Shift + O)
--------------------------
Open the ApiHelper.java file according to the path ..\HappyApp\client\app\src\main\java\com\example\happyapp\api
Replace the SERVER_URL link in code (Example: 'http://192.168.1.20:5000/api/' with 192.168.1.20 is IPv4 Address)
--------------------------
Open the virtual machine and run the application
To use the application, follow these steps:
- Register an account to use.
- Click the + button to collect behavior with the camera.
- After completing the collection of user behavior with the camera, a popup will appear to choose whether to continue collecting behavior by video recording or not.
- The home page will display the history.
- The profile page to manage individual users.
The following technologies were used to build this project:
- Android Studio (Java)
- NodeJS
- MongoDB
- Cloudinary
- Nodemailer
Contributions are welcome! If you'd like to contribute to this project, please fork the repository and create a pull request. For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the MIT License.