Giter Club home page Giter Club logo

quiz_game_android's Introduction

Quiz Game App

🤘 Backend is runned by Flask API (Python) 🤘

🤘 Frontend is designed Android App (Android Studio) 🤘

1. Install enviroment Python

git clone https://github.com/ngnambka00-github/quiz_game_android.git
cd quiz_game_android/Server/

conda create -n server python=3.7.9
conda activate server
pip install -r requirement.txt

2. Run

2.1 Import Database to MySQL Workbench

  • Instruction for import DB (Link)
  • Create file .env by cp template.env .env, then filling password database to file .env:
app.config["MYSQL_DATABASE_USER"] = "..."
app.config["MYSQL_DATABASE_PASSWORD"] = "..."
app.config["MYSQL_DATABASE_DB"] = "quiz_game"
app.config["MYSQL_DATABASE_HOST"] = "localhost"

2.2 Run Backend Server

  • Open folder Server by Pycharm or VS Code
  • Open Terminal and run commands
export PYTHONPATH=./
python3 main.py
  • When server run, It looks like as. Pay attention and the 2nd line Running on ... (It may be different on others) to copy to Android app.

2.3 Run Android App

  • Copy url in 2.2 to file
API_URL = "http://192.168.1.14:5000/"

Code Contributors

1ī¸âƒŖ Nam Nguyen Van 20182698

2ī¸âƒŖ Thi Nguyen Viet 20182798

3ī¸âƒŖ Hoa Pham Thai 20182533

4ī¸âƒŖ Chung Tran Van 20182388

References

  1. Retrofit. A library for creating request between client and server.
          _/īš‹\_
          (Ō‚`_´)
          <,ī¸ģâ•Ļ╤─ Ō‰ – – 🍎
          _/īš‹\_
```YY

quiz_game_android's People

Contributors

ngnambka00 avatar ngnambka00-github avatar

Stargazers

Huy Q Can 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.