--- title: bleu emoji: 📚 colorFrom: blue colorTo: green sdk: docker app_port: 7860 --- # Bema Learn backend Backend-only deployment of the Bema Learn assessment API. The Space runs the WordPress plugin with an embedded MariaDB database; the Next.js frontend, Python helper, and assessment evidence are not included. API base URL: `/wp-json/bemalearn/v1` Endpoints include public course listing/detail and authenticated login, earnings, and withdrawals. The seeded assessment accounts are `instructor@example.test` / `assessment123` and `learner@example.test` / `assessment123`. For production use, set `MARIADB_ROOT_PASSWORD`, `WORDPRESS_DB_PASSWORD`, `WP_ADMIN_PASSWORD`, and `SPACE_HOST` as Space secrets/variables. The embedded database is intended for this deployment and is not a substitute for managed persistent storage.