Skip to content

Mr-Nithil/Music-Player-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 

Repository files navigation

Music-Player-App

Commands

Server (FastAPI)

From the server folder:

python3 -m venv venv
source venv/bin/activate
pip install fastapi sqlalchemy python-dotenv bcrypt pyjwt cloudinary
fastapi run main.py

Optional (only if you see a Postgres driver error):

pip install psycopg2-binary

For dev reload (optional):

fastapi dev main.py

Environment variables live in server/.env:

DATABASE_URL=postgresql://<user>@<host>:<port>/<db>
SECRET_KEY=<random-secret>
CLOUDINARY_CLOUD_NAME=<cloudinary-name>
CLOUDINARY_API_KEY=<cloudinary-key>
CLOUDINARY_API_SECRET=<cloudinary-secret>

Client (Flutter)

From the client folder:

flutter pub get
flutter run

Web run (optional):

flutter run -d chrome

Code Generation (Riverpod)

From the client folder:

dart run build_runner build --delete-conflicting-outputs

Watch mode:

dart run build_runner watch --delete-conflicting-outputs

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors