File size: 837 Bytes
e83d7cc
d6e10b0
e83d7cc
 
 
 
 
 
 
d9f0d1f
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
---
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.