Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,10 +187,6 @@ jobs:
sed -i "s|image: ghcr.io/kunal-511/beatwave:.*|image: ghcr.io/kunal-511/beatwave:$VERSION|g" k8s/frontend-deployment.yml

echo "Updated manifests with version: $VERSION"
- name: Validate Kubernetes manifests
run: |
kubectl apply --dry-run=client -f k8s/backend-deployment.yml
kubectl apply --dry-run=client -f k8s/frontend-deployment.yml

- name: Commit updated manifests
run: |
Expand Down
18 changes: 10 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ BeatWave is a comprehensive music streaming application that provides seamless m
- **Node.js** with Express.js framework
- **MongoDB** with Mongoose ODM for data persistence
- **Socket.io** for real-time WebSocket communication
- **Cloudinary** for media storage and optimization
- **Cloudflare R2(similar to S3)** for media storage and optimization
- **Clerk** for user authentication and management
- **CORS** enabled for cross-origin requests
- **Redis** for in memory storage
Expand All @@ -77,7 +77,7 @@ BeatWave is a comprehensive music streaming application that provides seamless m
- Node.js 18+ installed
- MongoDB database (local or cloud)
- Redis server (local or cloud)
- Cloudinary account for media storage
- Cloudflare account for media storage
- Clerk account for authentication

### Installation
Expand All @@ -101,14 +101,16 @@ BeatWave is a comprehensive music streaming application that provides seamless m

```env
PORT=5000
MONGODB_URI=your_mongodb_connection_string
MONGODB_URI=
REDIS_HOST=localhost
REDIS_PORT=6379
CLERK_SECRET_KEY=your_clerk_secret_key
CLOUDINARY_CLOUD_NAME=your_cloudinary_cloud_name
CLOUDINARY_API_KEY=your_cloudinary_api_key
CLOUDINARY_API_SECRET=your_cloudinary_api_secret
ADMIN_EMAIL=your_admin_email
CLERK_SECRET_KEY=
R2_ACCOUNT_ID=
R2_ACCESS_KEY_ID=
R2_SECRET_ACCESS_KEY=
R2_BUCKET_NAME=
R2_PUBLIC_URL
ADMIN_EMAIL=
NODE_ENV=development
```

Expand Down
8 changes: 5 additions & 3 deletions backend/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ MONGODB_URI=
ADMIN_EMAIL=
NODE_ENV=development

CLOUDINARY_API_KEY=
CLOUDINARY_API_SECRET=
CLOUDINARY_CLOUD_NAME=
R2_ACCOUNT_ID=
R2_ACCESS_KEY_ID=
R2_SECRET_ACCESS_KEY=
R2_BUCKET_NAME=
R2_PUBLIC_URL=


CLERK_PUBLISHABLE_KEY=
Expand Down
3 changes: 2 additions & 1 deletion backend/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.env
node_modules
node_modules
/tmp
Loading
Loading