https://github.com/swayam25/bit-box
Elevate your coding skills with Bit Box
https://github.com/swayam25/bit-box
codebin javascript svelte web-ide
Last synced: 5 months ago
JSON representation
Elevate your coding skills with Bit Box
- Host: GitHub
- URL: https://github.com/swayam25/bit-box
- Owner: swayam25
- License: gpl-3.0
- Created: 2024-08-11T10:00:16.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-10-06T14:39:24.000Z (9 months ago)
- Last Synced: 2024-10-10T12:05:25.398Z (9 months ago)
- Topics: codebin, javascript, svelte, web-ide
- Language: Svelte
- Homepage:
- Size: 2.24 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

Elevate your coding skills with Bit Box
## 🎬️ Preview
- **Main Page**

- **Share Box**

## 🚀 Installation
1. Clone this repository
```sh
git clone https://github.com/swayam25/Bit-Box bit_box
cd bit_box
```2. Configure the [`config.json`](./config.json) file
Configuration
- `server`: Backend server url
- `donateURL`: Donation url
3. For backend
- Install dependencies
```sh
cd server
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
```
- Start the server
```sh
fastapi dev --port 2501
```4. For frontend
- Install dependencies
```sh
cd client
npm i
```
- Start the client
```sh
npm run dev -- --port 2500
```## 🌐 Production
1. Follow steps 1 & 2 from the [installation guide](#-installation). *Ignore if already done.*
2. For backend
- Install dependencies (*Ignore if already done*)
- Start the server
```sh
fastapi run --port 2501
```3. For frontend
- Install dependencies (*Ignore if already done*)
- Build the client
```sh
npm run build
```
- Preview the client
```sh
npm run preview -- --port 2500
```> [!TIP]
> Checkout the [deployment guide](https://svelte.dev/docs/kit/adapter-node) for more information.