A cloud music platform with chat room function
- Implementation method
- Chat room
- sokcet.io
- Audio visualization
- 傅立葉
- 取 0 ~ 2000 Hz
- 取 log
- 歸一化
- Chat room
-
database
-
write .env
-
docker-compose up
- port
- mongo-express
- 8085
- mongodb
- 27119
- mongo-express
-
-
backend
-
write .env
-
cd ./backend
-
pipenv install
-
pipenv run python app.py
- port
- 5000
-
-
frontend
-
wrtie ./frontend/src/config.js
-
cd ./frontend
-
npm install
-
npm run serve
- port
- 8080
-
- Chat room authentication
- get session / JWT
- Production process
- Duplicated code
- Frontend reqeust
- Backend authentication(decorator)
- Split to components
- Transaction
- If click music player's Next/PrevMusic button quickly, It might get the wrong wave file
- Might relate to the asynchronous request in the watch part
unsplash.com