A on demand Video Streaming platform. Live: https://vita-stream.herokuapp.com/
- Clone the Repository.
- Make a virtual environment.
- Change directory to
vit-django/to navigate to the backend directory. - Run
pip install -r requirements.txtto install the dependencies. - Create
.envfile set following variables -SECRET_KEY, DEBUG, FB_SOCIAL_AUTH_KEY, FB_SOCIAL_SECRET, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_STORAGE_BUCKET_NAME, BRAINTREE_MERCHANT_ID, BRAINTREE_PUBLIC_KEY, BRAINTREE_PRIVATE_KEY, EMAIL_HOST_USER, EMAIL_HOST_PASSWORDto able to access all the features like FB login, AWS S3 Bucket, Braintree Payment Gateway and Send Mail. - Run
python manage.py makemigrations. - Run
python manage.py migrate. - Run
python manange.py runserverto start the backend server. - Change directory to
vitareact/to navigate to the frontend directory. - Create
.envfile set following variables -REACT_APP_API=http://127.0.0.1:8000/api/REACT_APP_FRONTEND=http://localhost:3000/REACT_APP_BACKEND=http://localhost:8000REACT_APP_FB_CLIENT_IDREACT_APP_FB_CLIENT_SECRETREACT_APP_FB_APP_ID- FB login API
- Value of
REACT_APP_FB_CLIENT_IDandREACT_APP_FB_CLIENT_SECRETyou will get by making new entry in Applications Model in Django Admin (Client Type - Confidential, Authorization grant type - Resource owner password-based and User) - Run
npm installto install all the react dependencies. - Run
npm startto run the frontend server. - Now you good to go.
- Backend - Django Rest Framework.
- Frontend - React.js.
- Database - SQlite3.
- Video Database - AWS S3 Bucket.
- Payment Gateway - Braintree.
- Aman Tibrewal
- Harshit Gangwar