This project is a media server built using React Native Web, providing a platform to store, manage, and stream media content. It is designed to be a versatile solution for handling various types of media files.
- User Authentication: Secure user authentication and authorization.
- Media Storage: Efficient storage and management of media files.
- Streaming: Implementation of streaming protocols for smooth media playback.
-
Frontend:
- React Native Web
- React Navigation for routing
-
Backend:
- [Specify your backend technology here]
-
Database:
- [Specify your database technology here]
-
DevOps:
- Docker for containerization
- [Specify your CI/CD tool here]
-
Streaming:
- [Specify your streaming protocol or technology here]
- [List any prerequisites or dependencies here]
-
Clone the repository:
git clone https://github.com/CodeAadarsh/mediaServer.git
-
Install Dependencies:
bashCopy code
npm install
-
Configuration:
- Create a
.env
file based on the provided.env.example
file and set the required environment variables.
- Create a
-
Run the Backend Server:
bashCopy code
npm start
-
(Optional) Docker Containerization:
- If using Docker, you can containerize the backend. Refer to the Docker documentation for instructions.
- Node.js installed
- npm (Node Package Manager) installed
- Expo CLI installed (
npm install -g expo-cli
)
-
Navigate to the Frontend Folder:
bashCopy code
cd react-native-web-media-server/frontend
-
Install Dependencies:
npm install
-
Run the Frontend:
npm start
-
View the App:
- Open your web browser and go to the provided URL (usually http://localhost:3000).
-
(Optional) Run on Android/iOS:
- For mobile app development, use
expo start --android
orexpo start --ios
.
- For mobile app development, use
-
(Optional) Build for Production:
- Use
expo build
for building standalone apps orexpo build --web
for a web version.
- Use
Congratulations! You have successfully set up the React Native Web Media Server project. Adjust configurations and settings as needed for your development environment.