Git Product home page Git Product logo

kiddo's Introduction

Kiddo

Project Name : KIDDO

Team

  • Dima Jaber
  • Hamdallah Fatayer
  • Noor Aldeen Ashqar
  • Razan Abusamra

Table of Contents

  1. About
  2. Technologies Used
  3. Requirements
  4. Development
    1. Installing Dependencies FrontEnd
    2. Installing Dependencies BackEnd
    3. Deploying
  5. Links
  6. Picture Documentation

About

  • Safe Online Environment For the Kids (Android Mobile App)

Technologies Used

  • DataBase (Local Host: Sqlite3 - Deployed Version: MySql)
  • Backend (Python Django)
  • Frontend (React Native)
    • React (Redux - React Native Navigation - Hooks)
    • User Interface Framework (React Native Paper)
    • Design (React Native Animation - React Native Alerts)
  • Payment System (Stripe)
  • Testing (Jest & Enzyme)
  • Authentication (JWT - Django Rest Framework Permissions)
  • Continuous Integration (CircleCI)
  • Deployment/Cloud Solutions (FrontEnd:Firebase - BackEnd:Google Cloud(NginX))

Requirements

  • TextEditor
  • Android studio
  • React Native > v0.6
  • expo > v39.0
  • expo-cli > v4.0
  • Python 3.9
  • django 1.0.0

Development

  1. Fork the repo from github.
  2. Clone down your fork
git clone https://github.com/<Your Github userName>/Kiddo
  1. Move into the repo after its been cloned onto your local machine.
  2. Follow the instructions in the 'Installing Dependencies' section.

Installing Dependencies FrontEnd

  1. Open terminal 1: From root directory to forntend directory:
cd frontend/
npm install
expo start
  1. To run the App
  • (Option1) Press Android device/emulator to run the app in Android studio.
  • (Option2) Scan the code and run it on your phone using Expo Phone Application.
  1. To run Jest test
npm test
  1. To build the App
  • (Android)
npm run android
  • (ios) - prefered on mac
pod install
npm run ios

Installing Dependencies BackEnd

  1. Open terminal 2: From root directory to backend directory:
cd backend/
python -m venv venv
  1. To enter venv (Virtual Environment)
. venv/Scripts/activate
  1. To install dependencies (after entering venv)
pip install -r requirements.txt
  1. To run server localy (You should install the dependencies first)
python manage.py runserver
  1. To run MySql database on localhost (You can skip this and use sqlite3 default database)
  • Uncomment the database code in /backend/settings.py
  • Install gcloud
  • inside /backend terminal do the following
$ ./cloud_sql_proxy 
-instances=blackpearl2:us-central1:blackpearl=tcp:3306
  1. To update dependencies file
  • Enter venv or cd /backend
pip freeze > requirements.txt
  1. To update the database tables for localhost
python manage.py makemigrations api
python manage.py migrate

Deploying

To deploy the server using app engine

  1. Install gcloud
cd backend/
gcloud app deploy
  1. To update the deployed server Run MySql database on localhost.
cd backend/
python manage.py makemigrations api
python manage.py migrate
gcloud app deploy

Links

Picture Documentation

Home Page

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.