A web-based admin dashboard for managing Bitcoin education cohorts at Bitshala. The system helps track student progress, manage TA assignments, and handle weekly data for various Bitcoin development courses.
-
Clone the repository:
git clone https://github.com/Bitshala/admin.git cd admin -
Make the run script executable and start everything:
chmod +x run.sh ./run.sh
The script will automatically handle database setup, install dependencies, and start both servers.
If you prefer to run components separately:
-
Navigate to backend directory:
cd backend -
Run database migrations:
cargo run --bin migrate BPD
Replace
BPDwith your cohort name (BPD, PB, LBTCL, or MB) -
Start the backend server:
cargo run
Backend will run on
http://localhost:8081
-
Navigate to frontend directory:
cd frontend -
Install dependencies:
npm install
-
Start the development server:
npm run dev
Frontend will run on
http://localhost:5173
Run backend tests:
cd backend
cargo test