GithubHelp home page GithubHelp logo

kazungudev / mvstreamer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from roman-ojha/mvstreamer

0.0 0.0 0.0 36.31 MB

🔥🎸 Streaming App for Music & Video Streaming 📺🔥

License: MIT License

Shell 0.10% JavaScript 34.05% Objective-C 0.02% Kotlin 0.06% Dart 45.77% CSS 17.04% Swift 0.18% HTML 2.79%

mvstreamer's Introduction

app Icon

MVstreamer

License GitHub repo size GitHub package.json version

🖥️Music/Video Streaming App🖥️

Technology Use:

  1. ReactJs
  2. NodeJs
  3. MongoDB (To store auth userDetail)
  4. Firebase (To store images, files)
  5. Flutter

UI :

Home Page :

webHome

Video Streamer Page :

webVplayer

Music Streamer Page:

webMPlayer

Local File Page:

webMPlayer

Flutter Application:

mobileHome mobileMPlayer mobileVPlayer mobileVPlayer mobileVPlayer


Todo

How to run Locally:

NOTE: Firstly you need to install Node.js, Flutter in you local computer

API:

  1. Directory: MVstreamer
  2. Create .env file in Root Directory
  3. Get all the environment variables which are include in .env.example
  4. Get Firebase SDK Service Account Key & Connect MongoDB
  5. Run npm install --global yarn to install yarn
  6. Run npm install -g nodemon to install nodemon
  7. Run yarn to install all packages
  8. Run yarn start to run the server

React:

  1. Directory: Mvstreamer/client/web
  2. create .env file and add variable value included in .env.example
  3. Run yarn to install all packages
  4. Run yarn start to run the server

Flutter:

  1. Directory MVstreamer/client/mobile
  2. Create .env file in Root Directory
  3. Get all the environment variables which are include in .env.example
  4. create Info.plist file inside ios/Runner/ and copy given peace of code bellow
  5. create Firebase app for android and ios google auth and download google-services.json & GoogleServices-info.plist and copy inside android/app & ./ios
  6. inside ios/Runner/info.plist change this line of code:
  7. <array>
     		<!-- Copied from GoogleService-Info.plist key REVERSED_CLIENT_ID -->
     		<string>com.googleusercontent.apps.</string>
     	</array>
  8. create developer Facebook application and create strings.xml file inside android/app/src/main/res/values and copy this peace of code inside strings.xml and copy all the required value from developer facebook
  9.  <?xml version="1.0" encoding="utf-8"?>
     <resources>	
     <string name="facebook_app_id">1234</string>
     <string name="fb_login_protocol_scheme">fb1234</string>
     <string name="facebook_client_token">56789</string>
     <string name="app_name">app_name</string>
     </resources>
  10. inside ios/Runner/info.plist change this like of code with your own value :
  11. <key>CFBundleURLTypes</key>
    <array>
    <dict>
    <key>CFBundleURLSchemes</key>
    <array>
    	<string>fbAPP-ID</string>
    </array>
    </dict>
    </array>
    <key>FacebookAppID</key>
    <string>APP-ID</string>
    <key>FacebookClientToken</key>
    <string>CLIENT-TOKEN</string>
    <key>FacebookDisplayName</key>
    <string>APP-NAME</string>
  12. Run flutter run

Info.plist

	<?xml version="1.0" encoding="UTF-8"?>
	<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
	<plist version="1.0">
	<dict>
		<key>CFBundleDevelopmentRegion</key>
		<string>$(DEVELOPMENT_LANGUAGE)</string>
		<key>CFBundleDisplayName</key>
		<string>Android Ios</string>
		<key>CFBundleExecutable</key>
		<string>$(EXECUTABLE_NAME)</string>
		<key>CFBundleIdentifier</key>
		<string>com.mvstreamer.env</string>
		<key>CFBundleInfoDictionaryVersion</key>
		<string>6.0</string>
		<key>CFBundleName</key>
		<string>MVstreamer</string>
		<key>CFBundlePackageType</key>
		<string>APPL</string>
		<key>CFBundleShortVersionString</key>
		<string>$(FLUTTER_BUILD_NAME)</string>
		<key>CFBundleSignature</key>
		<string>????</string>
		<key>CFBundleVersion</key>
		<string>$(FLUTTER_BUILD_NUMBER)</string>
		<key>LSRequiresIPhoneOS</key>
		<true/>
		<key>UILaunchStoryboardName</key>
		<string>LaunchScreen</string>
		<key>UIMainStoryboardFile</key>
		<string>Main</string>
		<key>UISupportedInterfaceOrientations</key>
		<array>
			<string>UIInterfaceOrientationPortrait</string>
			<string>UIInterfaceOrientationLandscapeLeft</string>
			<string>UIInterfaceOrientationLandscapeRight</string>
		</array>
		<key>UISupportedInterfaceOrientations~ipad</key>
		<array>
			<string>UIInterfaceOrientationPortrait</string>
			<string>UIInterfaceOrientationPortraitUpsideDown</string>
			<string>UIInterfaceOrientationLandscapeLeft</string>
			<string>UIInterfaceOrientationLandscapeRight</string>
		</array>
		<key>CFBundleURLTypes</key>
	<array>
		<dict>
			<key>CFBundleTypeRole</key>
			<string>Editor</string>
			<key>CFBundleURLSchemes</key>

			<array>
				<!-- TODO Replace this value: -->
				<!-- Copied from GoogleService-Info.plist key REVERSED_CLIENT_ID -->
				<string>com.googleusercontent.apps</string>
			</array>
		</dict>
	</array>
		<key>UIViewControllerBasedStatusBarAppearance</key>
		<true/>
		<key>NSPhotoLibraryUsageDescription</key>
		<string>This app needs to use Photos</string>

		<key>CFBundleURLTypes</key>
		<array>
		<dict>
		<key>CFBundleURLSchemes</key>
		<array>
			<string>fbAPP-ID</string>
		</array>
		</dict>
		</array>
		<key>FacebookAppID</key>
		<string>APP-ID</string>
		<key>FacebookClientToken</key>
		<string>CLIENT-TOKEN</string>
		<key>FacebookDisplayName</key>
		<string>APP-NAME</string>
	</dict>
	</plist>

mvstreamer's People

Contributors

roman-ojha avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.