Empowering Enterprises with Blockchain Knowledge
Polkadot Education is a mobile-first responsive web app designed to provide comprehensive blockchain and Web3 education tailored for enterprises and institutions. Our goal is to guide users from the basics to advanced knowledge of Polkadot through an engaging and practical learning journey.
This repository contains the front-end application for Polkadot Education. Follow the instructions below to set up and run the project locally.
- Bun v1.1.29
- Node v24.8.0
- Docker Compose (or Orbstack)
First, clone this repository to your local machine.
Use the --recursive
flag to clone the api and the landing-page repositories as submodules:
git clone --recursive https://github.com/PolkadotEducation/app.git
cd app
Install the required dependencies using Bun:
bun install
To start the services, run:
bun run compose up
After starting the services, open http://localhost:3000 in your browser to view the application.
The project has the following commands:
bun run build
: Builds the projectbun run build-storybook
: Builds the storybookbun run compose up
: Starts containersbun run compose down
: Stops and removes containersbun run compose-all up
: Starts all containers (including landing-page)bun run compose-all down
: Stops and removes all containers (including landing-page)bun run db:reset
: Drops database and runs the seedbun run db:drop:all
: Drops the databasebun run db:drop:courses
: Drops just the coursesbun run db:seed:all
: Runs the whole seedbun run db:seed:courses
: Runs the seed for courses onlybun run format
: Runs Prettierbun run format:fix
: Fixes Prettier errorsbun run lint
: Runs ESLintbun run lint:fix
: Fixes ESLint errorsbun run pull
: Pulls the main repository and all submodulesbun run storybook
: Runs the storybookbun run test
: Runs Cypress testsbun run test:open
: Runs Cypress tests in Launchpad modebun run type-check
: Runs TypeScript checkbun run wait
: Waits for the API to start
The project structure is organized as follows:
.github/
and.storybook/
: Configuration files and workflows for continuous integration and Storybook.api/
: Modules related to backend API communication.app/
: Main application components.components/
: Reusable UI components.context/
: React context implementation for state management.hooks/
: Custom React hooks.lib/
: Helper functions and libraries.public/assets/
: Public files such as images and other assets.stories/
: Storybook files.submodules/
: Complementary repositories.types/
: TypeScript type definitions.
We welcome contributions to the Polkadot Education project! If you have suggestions, improvements, or bug fixes, please submit a pull request or open an issue in the appropriate repository:
For any questions or support, please contact us at support@polkadot.education.
© Polkadot Education