This is a simple music storage client that allows you to manage and enjoy your music collection. You can upload your favorite songs and albums, search for them, and download music from youtube.
To install project dependencies, run:
pnpm install
start the client
pnpm dev
You can use Docker Compose to run the client alongside the server. Here's a Docker Compose configuration:
version: '3.8'
services:
db:
image: postgres:latest
container_name: postgres
restart: always
environment:
POSTGRES_USER: ${DB_USER}
POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_DB: ${DB_NAME}
volumes:
- ./postgres-data:/var/lib/postgresql/data
ports:
- "5432:5432"
frontend:
build:
context: ./serene-client
dockerfile: Dockerfile
container_name: frontend
ports:
- "3000:3000"
depends_on:
- backend
backend:
build:
context: ./serene-server
dockerfile: Dockerfile
container_name: backend
environment:
DB_HOST: ${DB_HOST}
DB_PORT: ${DB_PORT}
DB_USER: ${DB_USER}
DB_PASSWORD: ${DB_PASSWORD}
DB_NAME: ${DB_NAME}
volumes:
- /etc/music:/etc/music
ports:
- "4000:4000"
depends_on:
- db
volumes:
postgres-data:
The use of Next.js in this project is for experimentation purposes