The project is maded with React in frontend, and Node.js, MongoDB in backend.
It's a simple video streaming platform that allow user to watch videos and communicate with different people. You can watch different videos on gma-video, leave a comment to support author or even share your ideas as a channel.
Frontend repository:https://github.com/gma201011/gma-video-frontend
- express
- mongoose(for mongoDB)
- ioredis(for redis)
- jsonwebtoken
- @alicloud/pop-core(aliyun vod SDK)
https://hackmd.io/@ulnNJQ5cR-CXl97p1i5cdA/H1z1Tfqhq
https://dbdiagram.io/d/62dc945e0d66c7465538d9e4
App.js
│
├─config
│ └── config.default.js
│
│
├─controller
│ ├── index.js
│ ├── userController.js
│ ├── videoController.js
│ └── vodController.js
│
│
├─middleware
│ ├── validator
│ errorBack.js
│ userValidator.js
│ videoValidator.js
│
│
├─model
│ ├── redis
│ baseModel.js
│ collectModel.js
│ index.js
│ subscribeModel.js
│ userModel.js
│ videocommentModel.js
│ videolikeModel.js
│ videoModel.js
│
│
├─router
│ ├── index.js
│ ├── user.js
│ └── video.js
│
│
├─util
│ ├── jwt.js
│ └── md5.js