{"id":27152729,"url":"https://github.com/algohive-coding-puzzles/beehub","last_synced_at":"2025-04-08T15:54:22.165Z","repository":{"id":283147355,"uuid":"950634083","full_name":"AlgoHive-Coding-Puzzles/BeeHub","owner":"AlgoHive-Coding-Puzzles","description":"BeepHub is a self-hostable all in one tool, for administrating BeeAPIs","archived":false,"fork":false,"pushed_at":"2025-04-03T10:37:03.000Z","size":287,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-04-03T11:31:15.182Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AlgoHive-Coding-Puzzles.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-18T13:12:40.000Z","updated_at":"2025-04-03T10:37:06.000Z","dependencies_parsed_at":"2025-03-18T20:23:22.026Z","dependency_job_id":"f30e5a06-306f-464a-8dfe-8094f9537530","html_url":"https://github.com/AlgoHive-Coding-Puzzles/BeeHub","commit_stats":null,"previous_names":["algohive-coding-puzzles/beehub"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlgoHive-Coding-Puzzles%2FBeeHub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlgoHive-Coding-Puzzles%2FBeeHub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlgoHive-Coding-Puzzles%2FBeeHub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlgoHive-Coding-Puzzles%2FBeeHub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlgoHive-Coding-Puzzles","download_url":"https://codeload.github.com/AlgoHive-Coding-Puzzles/BeeHub/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247878028,"owners_count":21011158,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-04-08T15:54:21.535Z","updated_at":"2025-04-08T15:54:22.129Z","avatar_url":"https://github.com/AlgoHive-Coding-Puzzles.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BeeHub - AlgoHive Project\n\nBeeHub is a catalog management system with user authentication and access control.\n\n## Project Structure\n\n- `frontend/`: React frontend application\n- `backend/`: Python FastAPI backend application\n\n## Backend Setup\n\n1. Navigate to the backend directory:\n\n   ```\n   cd backend\n   ```\n\n2. Create a virtual environment:\n\n   ```\n   python -m venv venv\n   source venv/bin/activate   # On Windows use: venv\\Scripts\\activate\n   ```\n\n3. Install dependencies:\n\n   ```\n   pip install -r requirements.txt\n   ```\n\n4. Copy the example environment file and configure it:\n\n   ```\n   cp .env.example .env\n   ```\n\n   Edit the `.env` file to set your own configurations.\n\n5. Run the application:\n   ```\n   python app.py\n   ```\n   The API will be available at http://localhost:5000\n\n## Frontend Setup\n\n1. Navigate to the frontend directory:\n\n   ```\n   cd frontend\n   ```\n\n2. Install dependencies:\n\n   ```\n   npm install\n   ```\n\n3. Start the development server:\n   ```\n   npm run dev\n   ```\n   The frontend will be available at http://localhost:5173\n\n## API Documentation\n\nOnce the backend is running, you can access the API documentation at:\n\n- Swagger UI: http://localhost:5000/docs\n- ReDoc: http://localhost:5000/redoc\n\n## Authentication\n\nThe system uses JWT tokens for authentication. To access protected endpoints:\n\n1. Login using `/auth/login` to get a token\n2. Include the token in the Authorization header as:\n   ```\n   Authorization: Bearer your_token_here\n   ```\n\n## Default Admin User\n\nA default admin user is created on first startup:\n\n- Username: admin\n- Password: admin123\n\nChange these credentials in production by updating the .env file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falgohive-coding-puzzles%2Fbeehub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falgohive-coding-puzzles%2Fbeehub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falgohive-coding-puzzles%2Fbeehub/lists"}