Skip to content
This repository was archived by the owner on Jan 5, 2026. It is now read-only.

Latest commit

 

History

History
71 lines (52 loc) · 1.33 KB

File metadata and controls

71 lines (52 loc) · 1.33 KB

Bitshala Admin Panel

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.

Setup and Running

Quick Start (Recommended)

  1. Clone the repository:

    git clone https://github.com/Bitshala/admin.git
    cd admin
  2. 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.

Manual Setup

If you prefer to run components separately:

Backend Setup

  1. Navigate to backend directory:

    cd backend
  2. Run database migrations:

    cargo run --bin migrate BPD

    Replace BPD with your cohort name (BPD, PB, LBTCL, or MB)

  3. Start the backend server:

    cargo run

    Backend will run on http://localhost:8081

Frontend Setup

  1. Navigate to frontend directory:

    cd frontend
  2. Install dependencies:

    npm install
  3. Start the development server:

    npm run dev

    Frontend will run on http://localhost:5173

Testing

Run backend tests:

cd backend
cargo test