Caution
This project has been discontinued. However it will remain as open-sourced if anyone wants to contribute 😄
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:
- 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.
- Sveltekit as Frontend
- Firebase as Backend (it uses Google Auth, Firestore, Cloud Storage).
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'