Coder Social home page Coder Social logo

rejozacharia / react-native-moodlemobile Goto Github PK

View Code? Open in Web Editor NEW

This project forked from costvin15/react-native-moodlemobile

0.0 1.0 0.0 6.16 MB

A React Native application developed to work with Moodle.

License: MIT License

JavaScript 88.61% Starlark 1.68% Java 5.44% Objective-C 3.48% Ruby 0.65% Shell 0.14%

react-native-moodlemobile's Introduction

react-native-moodlemobile

A React Native application developed to work with Moodle.

How to run:

  • Clone the repository and access it
  • Install the dependencies with: npm install or yarn install
  • Create your .env file based on .example.env, and fill in the information from your moodle site information
  • If you want to run on an iOS device, access ios/ and install the pods with: cd ios and pod install
  • Run the application with: react-native run-ios or react-native run-android

Environment variables

The .env file is where you will inform information about your instance

  • MOODLE_HOST: is the URL of your moodle instance.
  • MOODLE_SERVICE: Moodle services are specified in plugins > external services. Enter here which service you want to use. Commonly the service to be used is moodle_mobile_app.
  • MOODLE_ADMIN_TOKEN: Enter the token generated by the administrator. To generate, go to plugins > manage tokens

Project structure

The project is divided into the following structure

  • src
    • api: This directory contains all files related to calls to the moodle webservice. This facilitates the implementation of new calls and the maintenance of existing ones.
    • blocks: Here all the blocks to be used by the application, if you have a proprietary moodle block and want to use it in your application, you must implement it here.
    • components: Here are React Components commonly used by the application.
    • events: Here all the files related to the events emitted by the application.
    • locales: All files related to the internationalization of the application are here
    • modules: This is where the moodle educational modules are implemented
    • screens: Everything you can see on your device's screen is here.

Application screenshots

screenshot-1 screenshot-2 screenshot-3

react-native-moodlemobile's People

Contributors

costvin15 avatar viniciuscastro10 avatar

Watchers

James Cloos 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.