A web that allows user upload and manage Youtube Video.
-
Nodejs
-
This project uses remote database ( https://mlab.com ), so you can run it without any database config. If you want to run it with your database, you have to change
DATABASE_URI
field inconfig.js
file in root directory to your database address. Note that this project uses MongoDB. -
This project uses remote image host to save uploaded images. If you want to save images at localhost, change
SAVE_IMAGE_IN_REMOTE_HOST
field inconfig.js
file in root directory tofalse
.
Note: This project will response slowly for some requests because this project uses remote database.
- Go to root directory.
- Install dependent packages:
npm install
- Run server:
npm start
. Server runs at addresslocalhost:3000
. - Login to admin:
- Go to
localhost:3000/admin
- Login with username: admin and password: admin.
- Go to
Note: This project will response slowly for some requests because this project uses the remote database.
- Register account
- Login with registered account
- Login with facebook
- Update avatar and passport image
- View all videos that was approved by admin
- View videos of login user
- Add new video (Get thumbnail image of video automatically)
Note: Facebook Login requires https protocol so you can't test login with Facebook feature. If you want to test this fearture, please do:
- Change
facebookId
inpublic/javascripts/login.js
file to your Facebook id.
or
- Send me your facebook link and I will make you as tester. My email:
[email protected]
- Login
- View all videos (sorted by uploaded time)
- View all users (sorted by name)
- Approve or reject a video
This is some screenshot images. To view all images, click here
Login Register Update infor Add video My video Home Admin view videos Admin view users