Skip to content

Elevate your coding skills with Bit Box

License

Notifications You must be signed in to change notification settings

swayam25/Bit-Box

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bit Box

Elevate your coding skills with Bit Box

🎬️ Preview

  • Main Page

    Main Page

  • Share Box

    Share Box

🚀 Installation

  1. Clone this repository

    git clone https://github.com/swayam25/Bit-Box bit_box
    cd bit_box
  2. Configure the config.json file

    Configuration
    • server: Backend server url

    • donateURL: Donation url

  3. For backend

    • Install dependencies
      cd server
      python -m venv .venv
      source .venv/bin/activate
      pip install -r requirements.txt
    • Start the server
      fastapi dev --port 2501
  4. For frontend

    • Install dependencies
      cd client
      npm i
    • Start the client
      npm run dev -- --port 2500

🌐 Production

  1. Follow steps 1 & 2 from the installation guide. Ignore if already done.

  2. For backend

    • Install dependencies (Ignore if already done)
    • Start the server
      fastapi run --port 2501
  3. For frontend

    • Install dependencies (Ignore if already done)
    • Build the client
      npm run build
    • Preview the client
      npm run preview -- --port 2500

Tip

Checkout the deployment guide for more information.