Skip to content
This repository has been archived by the owner on Aug 31, 2024. It is now read-only.
/ moodle-api-handler Public archive

API handler for Moodle. Made with Sveltekit and Firebase

Notifications You must be signed in to change notification settings

epulla/moodle-api-handler

Repository files navigation

Caution

This project has been discontinued. However it will remain as open-sourced if anyone wants to contribute 😄

What is?

Moodle API Handler is an open-source tiny app that helps to manage your API functions from Moodle (you can read more about Moodle WebServices here). Here's what you can do:

Important

Users can only authenticate with a Google account.

  • Create and save API functions from Moodle along with its input fields: Function Page
  • Make an API request to your hosted Moodle.
  • See a history of calls you made before and their responses.
  • Configure the target Moodle App host and token.
  • Share your Moodle APIs to other users.

Tech Stack

  • Sveltekit as Frontend
  • Firebase as Backend (it uses Google Auth, Firestore, Cloud Storage).

Installation

First, install all the dependencies with npm install (or pnpm install or yarn) and start a development server:

npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open

Then, you can add your Firebase public configuration in an .env (inside the root folder) file similar as this:

PUBLIC_FIREBASE_APIKEY='xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
PUBLIC_FIREBASE_AUTHDOMAIN='xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
PUBLIC_FIREBASE_DATABASEURL='xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
PUBLIC_FIREBASE_PROJECTID='xxxxxxxxxxxxxxxxx'
PUBLIC_FIREBASE_STORAGEBUCKET='xxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
PUBLIC_FIREBASE_MESSAGINGSENDERID='xxxxxxxxxxxx'
PUBLIC_FIREBASE_APPID='xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'

About

API handler for Moodle. Made with Sveltekit and Firebase

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published