Code Monkey home page Code Monkey logo

thesis_braintrainweb's Introduction

brain_train_app

BrainTrain - A system to improve language skill for mild cognitive impairment patients.

Hello, my name is Nguyen Quoc Bao - ITITIU19081. This is my theis for International University.

The purpose of this study is providing the overview of technology selections which help Alzheimer’s patients improve language skill and diagnose those who run the risk of MCI throughout data from games. It is the first time games have been designed by Vietnamese, so that they easily approach to the elderly in Vietnam. In addition, patients’ conditions are followed by specialist doctors based on data from the games which will be stored on server and the website for doctors. Specialist doctor can give many types of exercises for each patient, and then send notification to reminder patients.

Getting Started

This project is a starting point for a Flutter application. So, you need to download the flutter SDK firstly at https://docs.flutter.dev/get-started/install (this it all tutorial for mac, window adn linux ).And you should install Android Studio it's better if you run with a virtual machine because it provides you with an environment to create a virtual Android machine to run the application, if you have installed vs code then it's okay you can download the extension flutter and dart in vs code and run code with real android phone. Because, my application have api so it not run on web browser.

After install all requirement, open your terminal run:

flutter doctor

to check it work clearly.

!!!Note recommend using Flutter version 3.19.5 and Dart 3.3.3

Import code

  • Import the source code by using vsCode or AndroidStudio (IntelliJ).

  • Open the file pubspec.yaml and click the "pub get" on right above: 324754733-242e924c-80f1-4346-9fb5-acd20bb4511b

    Or you can open the terminal on this project location and run:

flutter pub get

to down all library before run code

Install the virtual device

  • With run Android virtual device

    • Open the AndroidStudio at the first page to open project, click "tool" choose Device Manager:

    • Screenshot 2024-04-23 at 10 02 29

      Click the plus icon ("Create Vitural device"), the window to open click next to all , in this section system Image to choose "Tiramisu". You can flow the video:

    • Watch the video

  • With run Android real physics

    • If mobile has Android below version 11, you should connect your mobile to your laptop through wire usb, the mobile should unlock development mode and turn on debug. You can following the video: Watch the video
    • If If mobile has Android version 11 +, In "Device Manager" choose Wifi icon and pairing with your mobile
  • With run iOS Simulator

    • On your macbook open Simulator, and choose iphone model you want.

Run Code

  • Firstly, run your virtual device or unlock screen your mobile

  • After open the source code and run :

flutter pub get

You can choose the mobile you want to install the application Screenshot 2024-04-23 at 12 08 02

Note!!!! don't run it with Chorme or Edge because application have api, so run on it the code with errors.

  • You can click run button play icon or open terminal run:
flutter run
  • Await about some minutes the BrainTrain will be install on your mobile

Video: Watch the video

Website doctor manager

The same with run code application Brain train but when choose device run code, choose Chrome or Edge to run code.

Screenshot 2024-04-23 at 12 22 53

Edit code Application and Website

If you want to run code with local:

  • With application:
  • When you run code BE and have your ip local BE. (http://localhost:8080)
  • Open file api in lib/service
  • Disable 2 line code above and open 2 line code below Screenshot 2024-04-23 at 12 27 51
  • With website:
  • Open file api in lib/service
  • Disable 2 line code above and open 2 line code below Screenshot 2024-04-23 at 12 30 37

If you want to run and using app and web in server: Open code and run it

Run Backend - Springboot + Database

  • Install Docker
  • Install JDK ( required jdk minimum 17)
  • Go to https://www.oracle.com/java/technologies/downloads/#java17 and download the version that suits your operating system (Windows, MacOS, Linux) image
  • Choose x64 Installer to download
  • Open file download and install it (Remmember configure to environment variables)
  • Open terminal "java --version" image

*Install Intellij

  • Open Source Code
  • Open folder BrainTrainBE with Intellij
  • Await Intellij download and update package
  • First open terminal on Intellij and run (Make sure the docker desktop is open):
docker-compose up
  • In file BackendApplication in Brain-Train-Backend-thesis-submission\src\main\java\com\braintrain\backend\BackendApplication right click on it and choose "Run BackendApplication" image image
  • Enable it if the notice apear
  • Code start api will run at port 8080
  • Open Postman and test api:
http://localhost:8080/api/auth/signup

image

thesis_braintrainweb's People

Contributors

kiddokg avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.