# EduBlocks **Repository Path**: mirrors_AllAboutCode/EduBlocks ## Basic Information - **Project Name**: EduBlocks - **Description**: No description available - **Primary Language**: Unknown - **License**: AGPL-3.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 1 - **Created**: 2022-01-06 - **Last Updated**: 2025-12-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # EduBlocks V5 EduBlocks is a visual block based programming tool that helps teachers to introduce text based programming languages, like Python & HTML, to children at an earlier age via a drag and drop programming experience. ## Developing EduBlocks EduBlocks is written in Typescript using [Vue 3](https://vuejs.org/) bootstrapped with [Vite](https://vitejs.dev/). [Tailwind CSS](https://tailwindcss.com/) is used for styling with a custom component library. [Firebase](https://firebase.google.com/) is used for Authentication, as a database (Firestore) and for cloud storage. For security reasons, this repository does not include keys for firebase, so you'll need to setup your own firebase project and create the following `.env` file in the root of the repository. ``` VITE_API_KEY=FIREBASEAPIKEY VITE_AUTH_DOMAIN= VITE_DATABASE_URL= VITE_PROJECT_ID= VITE_STORAGE_BUCKET= VITE_MESSAGING_SENDER_ID= VITE_APP_ID= VITE_MEASUREMENT_ID= VITE_INSTRUMENTATION_KEY= TAILWIND_MODE=watch ``` We reccommend Visual Studio code with the [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint), [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode), [TailwindCSS](https://marketplace.visualstudio.com/items?itemName=bradlc.vscode-tailwindcss) & [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) plugins when developing EduBlocks. ## Building & running EduBlocks ### Install 1. Make sure you have the latest versions of NodeJS and yarn installed. 2. Clone the EduBlocks repository. 3. Install node modules with `yarn install`. ### Run - To run the development server: `yarn dev`. - To run Storybook (for testing & documenting components): `yarn storybook`. ### Build - To build a static version of EduBlocks: `yarn build`. ## Best Practices ### View Structure All views should have the following folder structure: ``` home/ home.vue home-model.ts routes.ts templates/ home-mobile.vue home-desktop.vue ``` - home.vue: The "root" .vue file for each view. It stays the same for every view. It should only contain a mobile and a desktop template for the view, imported as components. `onMounted` can be added to the `