A Learning Management System Solutions Developed from Scratch inside Orange Digital Center Labs By ODC-Flutter WorkForce.

Overview

TheFirstProject : A different Learning Management System

Team :

Getting Started

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

About LMS

E-learning application that allows the learner to participate in multiple courses and tracks that provide communication between the learner and the author

Getting started

Rerequisites:

How To Work

1- Go to your local workspace directory

$ cd ~/workspace

2-Clone your project to your device.

$ git clone https://github.com/omarokasha1/TheFirstProject.git

3- Next, go into the just created directory.

$ cd TheFirstProject-master/

Import project to the Android Studio IDE

  1. Open Android Studio IDE.
  • FileOpenChoosing the project from the device
  1. Click project to import to Android Studio
  2. Add flutter SDK for the project
  • FilesettingsLanguages & FrameworksFlutterAdd SDK file
  1. Adding a package dependency to an app
$ flutter pub get  
  1. Run Flutter in emulator
$ flutter run

Import Backend project to Visual studio code IDE

  1. Open Visual studio code IDE.
  • FileOpenChoosing the project from the device
  1. Click project to import to Visual studio code

Run the project on a local Server

In the command line, run cd to change directories to the folder we just cloned from GitHub.

$ cd ~/workspace
  • add those lines in package.js file
 "scripts": {
    "start": "node server.js"
  },

run npm start which will start the local server.

$ npm run start

License

  • Open-source software
You might also like...

A Flutter package that provides a dropdown form field using a dropdown button inside a form field.

A Flutter package that provides a dropdown form field using a dropdown button inside a form field.

Dropdown form field A dropdown form field using a dropdown button inside a form field. Demo Features Can be used as regular form field. Simple to impl

Jan 1, 2023

Allows communication between your bot and the Web App built in Flutter displayed inside Telegram.

tele_web_app It enables communication between your bot and the Flutter-embedded Web App displayed inside Telegram by making use of interoperability be

Dec 8, 2022

Allows tags to be entered inside textfield

Allows tags to be entered inside textfield

textfield_tags This is a widget that allows your users to create tags by entering the tag's name inside of textfield and make the tags appear in the t

Nov 2, 2022

Iridium-reader-widget - Plug and play reader widget allowing to easily integrate an Iridium viewer inside any app

Plug and play reader widget allowing to easily integrate an Iridium viewer insid

Dec 31, 2022

Makes it possible to safely execute and retry a Future inside a StatelessWidget

Makes it possible to safely execute and retry a Future inside a StatelessWidget

futuristic Makes it possible to safely execute and retry a Future inside a StatelessWidget. See the Mainstream package for a similar API for working w

Sep 15, 2022

A dart library to check if given point(s) are present inside polygon or not.

poly A library for checking if given point(s) is present inside Polygon or not. Contents Installation Examples Note: Instead of casting, use toListNum

Feb 25, 2022

Flutter_news - News application developed for practice, learning and testing the potential of this powerful Framework Flutter

Flutter_news - News application developed for practice, learning and testing the potential of this powerful Framework Flutter

flutter_news News application developed for practice, learning and testing the potential of this powerful Google's UI toolkit. Resources Packages pub

Dec 17, 2022

This is machine learning project where developed the model in teachable machine.

doc_help A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if this

Apr 26, 2022

Rock-Paper-Scissor-Game-Using-Dart - This is a repository of Rock Paper Scissor Game which I developed while learning Dart.

Rock-Paper-Scissor-Game-Using-Dart This is a repository of Rock Paper Scissor Game which I developed while learning Dart. The main.dart file consist o

Jan 4, 2022
Comments
  • How to create a Simple Screen in native android, Flutter and React-native  -ReactNative- lecturer

    How to create a Simple Screen in native android, Flutter and React-native -ReactNative- lecturer

    1. paste the image you will use to Drawable folder so you can find it by path
    2. res>layout>Activity-main.xml this it the flie we design our app in
    3. RelativeLayout means that all design items is related to the frame
    4. make the layout fill all screen width and hight
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    
    1. give the image path
    <?xml version="1.0" encoding="utf-8"?>
    <RelativeLayout
        xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:app="http://schemas.android.com/apk/res-auto"
        xmlns:tools="http://schemas.android.com/tools"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        tools:context=".MainActivity"
        android:background="#3b5998"
        >
    
        <ImageView
            android:layout_width="200dp"
            android:layout_height="100dp"
            android:src="@drawable/facebook"
            android:layout_centerInParent="true"
    
            >
    
    
        </ImageView>
    
    </RelativeLayout >
    

    Create facebook splash by native android code Screenshot from 2022-03-02 10-24-28

    [React Native - Environment Setup]

    opened by AsimAyman 2
  • Omar Okasha - Video Streaming

    Omar Okasha - Video Streaming

    https://google.github.io/shaka-packager/html/docker_instructions.html

    https://google.github.io/shaka-packager/html/tutorials/dash.html

    @omarokasha1 Check this Out

    opened by mariamyoussefwiliam 8
  • C++ and Python Code

    C++ and Python Code

    Problem Statement :

    How to make automated testing through running some scripts


    Technology Used :

    Python and C++ as these are the Languages I can use Easily and Can support with them

    In Python :

    I used Python Requests and Json Technology to Communiate with the API

    In C++ :

    I used C++ CPR "CURL FOR HUMAN" and I used Nomral Libraries and An Important Hint to Run the Project you need to focus over the Makefile Technology


    Setup Python3 Environment over Linux :

    • Installation Python3
     sudo apt install python3
    
    • Installation pip3 - pip3 is the Package Installer for Python to ubuntu system to can be used from any software as Import requests :
     sudo apt-get -y install python3-pip
    
    • Installation Requests - Requests is a library used for communicating over HTTP with the Server/API
     pip3 install requests
    
    • For JSON : Is Normally Installed inside Python

    • For the IDE you can use Geany

    sudo apt-get install geany
    

    Python Code :

    This code to test and register a limited number of Users to the API

    Thanks to @mirette3 a miswriting words has been fixed

    
    # Adding Libraries that we will use in our Program : 
    
    import requests 
    # For Importing Library Requests
    import json 
    # For Importing Library Json
    
    # ------------------------------------------------------------
    
    # Test Connection to server
    
    
    response = requests.get("http://10.5.62.214:8080/") 
    # make HTTP Get Request to check if the Server Live or Not
    
    print(response)
    # print the Response of the Server which usually will be Status 200 
    
    # ------------------------------------------------------------
    
    # We need to start automating Register to the API 
    # Through Using a While Loop we will have a Counter inside that will break the loop after reaching special Number 
    # Through the Loop the Application will send to the Api the Needed Data using Requests Function and we will receive the response and validate it
    # API need to send to it a Unique userName , Email , Phone 
    # So we Fixed the username and Email through a variable called Keyword
    # Validation over the Phone Number is the number must be 11 Number through a Fixed Variable will changed everytime based on the counter
    
    
    
    keyword = 'omar'
    # The Variable Used to create the userName and Email
    
    Phonee =44140002000*2
    # The Variable used to create the Phone Number will call it Phonee
    
    i=0
    # Initiate the Counter 
    
    while 1:
      # Starting of the Loop
      # Must take in consideration the Spaces as Python Senstive for the Spaces 
      
      email=keyword+str(i)+"@[gmail.com](http://gmail.com/)"
      # Create Email Variable using the Keyword and the Current counter and @gmail.com for example [email protected]
      
      password="1111111111111"+str(i)
      # Create Password Variable using a fixed string which is "1111111111111" and the Current counter 
    
      phone=str(Phonee+i)
       # Create Phone Variable using the sum of  Phonee and Current counter 
      
      username=keyword+str(i)
       # Create username Variable using the String sum of  keyword and Current counter as String which will be omar0 
      
     
      r = requests.post('http://10.5.62.214:8080/api/register', json={"email":email,"password":password,"phone":phone,"userName":username})
      # Here Code make a POST request by sending to the API 'http://10.5.62.214:8080/api/register' a json body as mentioned above and store the response at " r "
    
      #print(r)
      # Print all the response
      
      print(r.json())
      # print the JSON Content
    
      x=r.json()
      # store the JSON Content inside new Variable 
    
      print(x['token'])
      # print the attribute that have the key token
      
      i=i+1
      # Increment the Counter
    
      if(i==1000000):
        break
      # Break the Loop if we reached that Number of Rounder or Users Registers 
    
    
    
    

    ------------------------------------------------------------

    Setup C++Environment over Linux :

    Installation gcc

     sudo apt-get install gcc
    

    Installation g++

     sudo apt-get install g++
    

    Installation eclipse for C++

    > Visit the URL Below

    https://www.eclipse.org/downloads/packages/
    

    image

    > Search for Eclipse for C++

    image

    > Download Linux [x86_64]

    > After Downloading unzip the file and open the folder and double click on eclipse file

    > Accept all Eclipse Setup for Location to be used to save projects

    > From FIle > New Project > C++ Project > Cmake > Cmake Project > Give the Project name > Then hit finish

    > The Reason Behind Using Cmake to can download libraries online and add them to the project meanwhile it will help you in building the project easily and can help in future to add more libraries and even export project to be executed on other devices Thanks to @KareemAhmed22 this has been added

    > You will find at the left Project Explore that have 2 Main files : Your Project name .cpp and CMakeList.txt and Binaries and Build Folder

    Your Code will be Inside the Your Project name .cpp To Download Libraries Online and Use it inside your Project we will use in future CMakeList.txt Build Folder Where the Downloaded Libraries will built with their dependences Binaries Folder for the Executables Files

    After Understanding Eclipse Let's Add our Library " cpr C++ "

    First of All Visit this repo on github as this library we are going to use and have a look at readme :

    https://github.com/libcpr/cpr
    

    image

    You will find out Label for Usage :

    image

    You will find some CMakeList.txt Scripts

    You will copy them and paste at your CMakeFile.txt at your project inside Eclipse Below is my CMakeFile.txt you can use it directly but Every Omar Word Replace it in the next code with your Project name

    cmake_minimum_required (VERSION 2.6)
    
    project (omar)
    
    add_executable(omar omar.cpp)
    include(FetchContent)
    FetchContent_Declare(cpr GIT_REPOSITORY https://github.com/libcpr/cpr.git
                             GIT_TAG beb9e98806bb84bcc130a2cebfbcbbc6ce62b335) # The commit hash for 1.7.2. Replace with the latest from: https://github.com/libcpr/cpr/releases
    FetchContent_MakeAvailable(cpr)
    
    target_link_libraries(omar PRIVATE cpr::cpr)
    
    

    ** Important **

    You will face Problem to Make the CMakeFile.txt with each build to ensure that any update their will bounce direct back to your project.

    To Solve This Check the Stackoverflow Issue and Try to follow it .

    https://stackoverflow.com/questions/12574187/eclipse-cdt-no-rule-to-make-target-all

    Screenshot from 2022-02-14 20-17-14

    Screenshot from 2022-02-14 20-17-18

    After this. When you are going to run the Project This will run automatic to ensure all libraries are supplied and up to date

    C++ Code :

     // Libraries Used in the Code
    
    #include <iostream>
    // Standard Library for Input Output Operations
    #include <cpr/cpr.h>
    // Our Main Library for Communication with the API
    #include <string>
    //Handling the Strings in the Code
    #include <thread>
    // To make Threads to run Features Parallel
    #include <sstream>
    // we used it here to can Make stream to store the Phone Number then Transform it to String as Setpercision function works only with streams
    #include <iomanip>
    // to can use setprecision function to work to can get the float without decimal point
    using namespace std;
    // Using the Standard Namespace
    
    
    // Main Function Used to register Accounts
    // This Fucntion take 3 Variables :
    // The first Variable : Keyword which is the keyword that will manipulate the Username and Email
    // The Second Variable : is K which is used for Creating Phone Number
    // The Third Variable : is the Number of Iteration needed to be done
    
    
    void omar (string keyword,double k,int iteration)
    {
    	// the loop that will help with register all needed users
    
    	for(int i = 0 ; i < iteration;i++)
    	{
    			stringstream stream;
    			// This is to make a new string stream object called stream
    
    			stream << std::fixed << setprecision(0) << i+k;
    			// Here we are saving at stream tha sum of i + k but taking in consideration that the percision is 0 which means no decimel point and std::fixed is for keep the accuracy of our double or float to 6 digits after the decimel.
    
    			string phone = stream.str();
    
    			// Save at a new variable called phone the string saved in stream
    
    
    			string body = "{\"userName\":\""+keyword+to_string(i)+"\",\"email\":\""+keyword+to_string(i)+"@gmail.com\",\"password\":\"abdeceasdasd\",\"phone\":\""+phone+"\"}";
    			
    			// Here we store the json generated order to can send it in variable called Body 
    			
    			auto r = cpr::Post(cpr::Url{"http://10.5.62.214:8080/api/register"}
    			,
    			cpr::Header{{"Content-Type","application/json"}}
    			,
    			cpr::Body{body});
    			
    			// Here in cpr we use it to make POST request by giving it the Url that we are going to use which is http://10.5.62.214:8080/api/register
    			// By Giving to cpr too that the header is Application Json and then send in the bodd the body we created
    
    
    //	cout<<r.text <<endl;
    	}
    }
    
    int main(int argc, char **argv) {
    	
    	// To make the Program run multiple times parallel we start using Threads
    	
    	// Next we will initiate 8 Threads 
    	
    	// thread working like this 
    	
    	// thread name_of_tread(function_you_are_going_to_run , function Variables )
    	
        thread th1(omar, "xxxx",19091222334,1000);
    
        thread th2(omar, "xxxxx",29094222334,1000);
    
        thread th3(omar, "xxxxxx",39066222334,1000);
    
        thread th4(omar, "xxxxxxx",49042223341,1000);
    
        thread th5(omar, "xxxxxxxx",50042223341,1000);
    
        thread th6(omar, "xxxxxxxxx",60042223341,1000);
    
        thread th7(omar, "xxxxxxxxxx",70042223341,1000);
    
        thread th8(omar, "xxxxxxxxxxx",80042223341,1000);
    
        
        // Here we start launching the Threads 
        th1.join();
        th2.join();
        th3.join();
        th4.join();
        th5.join();
        th6.join();
        th7.join();
        th8.join();
    
    	// THe program Automatic will close after finishing all threads
    	return 0;
    }
    
    
    
    

    After Adding this code to your project in your C++ File inside Eclipse you will need to start Compile and Run it :

    First you will need to build your Project and then Run it and TaDaaaaa You are Live :)

    Enjoy!

    ------------------------------------------------------------

    For Future Development :

    • Build Login , Courses Features and Automate all Features
    • Standardize all the Features as the Program will run Based on an Input from JSON file (Configuration FIle) to can run each feature based on different inputs that C++ Program will read automatically and start implementing it
    • Generate Reports and Compare with Expectations to Generate Pass or Fail Reports

    C++ Project.zip

    documentation enhancement 
    opened by omarokasha1 9
  • Daily Following Up

    Daily Following Up

    Hello Mirette,

    We need to Follow Up on today :

    • [ ] Github Documentation Status and @AsimAyman ,@mirette3 and @youssefelgebaly make a technical Review It.
    • [ ] Backend Documentation Status and @AsimAyman ,@mirette3 and @youssefelgebaly make a technical Review it.
    • [ ] Flutter Documentation Status and @youssefelgebaly make a technical review for it.
    • [x] We need to have the first release next Sunday Morning with a fully Documentation.
    • [x] I need to see the 3 Tests happened from @AsimAyman side on the 2 flutter codes and backend

    I mean by Technical Review is the Assigned person have to understand the documentation and check that it is readable and clear to use without any questions further and if he has any question please don't communicate it verbally Please Comment your questions in github and keep the discussion here to be documented .

    That is all for now

    documentation help wanted question 
    opened by omarokasha1 3
Releases(Mid_Baseline)
Owner
Orange Digital Center Egypt - Coding School
Orange Digital Center Egypt - Coding School
Kullanmaya hazir widget cozumleri -Ready to use widget solutions

Ready to use widgets ( ???? ) Projelerimde yararlı widget çözümleri kullanıyorum ve çoğu zaman orada kalıyor. Bunları hem ben hemde sizden gelenler il

Veli Bacik 117 Dec 27, 2022
AdventOfCode 2022 in Dart focusing on code golf, making the solutions as small as possible

Advent of Code 2022 in Dart (Code Golf) This is my attempt at solving the Advent of Code 2022 puzzles in the shortest possible code using Dart 2.18. Y

Pascal Welsch 5 Dec 15, 2022
We created Flappy Bird, a straightforward game based on flutter animation, from scratch using only Dart & Flutter and no third-party games or animation components.

Flappy-Bird Description A ridiculous game created by Flutter, all you have to do is touch the screen to make the bird leap as long as you avoid the ba

hab 15 Dec 25, 2022
A beautiful cross platform mobile web app use this and ENJOY (2 page) - Flutter UI from scratch

course_app A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if th

Mobin 2 Feb 9, 2022
Learn Dart Programming, its basics and Fundamentals from scratch.

Dart Programming Tutorial for Beginners Learn Dart Programming, its basics and Fundamentals from scratch. Topics to be covered Overview Course introdu

Sriyank Siddhartha 696 Jan 7, 2023
This package will animate a floating action button at the center and icons at the bottomNavigationBar using AnimatedContainer and SlideTransition respectively.

floating_bottom_bar This package will animate a floating action button at the center and icons at the bottomNavigationBar using AnimatedContainer and

MindInventory 11 Oct 10, 2022
Flutter-e-learning - E-Learning Application Built With Flutter

E-Learning Demo Screens Explore Planner Overlay Videos Leaderboard Global Leader

Mai Xuân Việt 8 Dec 27, 2022
Boris Gautier 1 Jan 31, 2022
Working proof of the Go (golang) server running inside Flutter

flap Working proof of the Go server running inside Flutter Video in action Prerequisites Flutter >2.0 Go >1.16 Build Go server cd go macOS: make maco

Err 28 Dec 17, 2022
A flutter plugin to draw the coordinates on the widget and as well as to find the given point is inside a list of coordinates or not.

Draw On A flutter plugin to draw the coordinates on widget and as well as to find the given point is inside a list of coordinates or not. For Draw on

Sivaramsiva10 4 Apr 5, 2022