PlayArena is a React Native-based mobile application designed to facilitate seamless interaction between players and turf owners. The project consists of two separate apps: one for players and one for turf owners. Turf owners can manage their turfs and bookings, while players can search, book, and share their bookings.
- Add and manage turf details.
- View and manage bookings.
- Add manual bookings (e.g., cash bookings).
- Set and update turf pricing for different time slots.
- Store and retrieve turf images using Firebase.
- Search for available turfs.
- Book turfs for selected time slots.
- View and manage personal bookings.
- Share booking details with friends.
- React Native: For building cross-platform mobile apps.
- Firebase: For image storage.
- Node.js: Backend server for managing API requests.
- MongoDB Atlas: NoSQL database for storing turf and booking data.
-
Clone the repository:
git clone https://github.com/your-username/playarena.git
-
Navigate to the project directory:
cd playarena
-
Install dependencies:
npm install
-
Set up Firebase:
- Create a Firebase project and enable storage.
- Update Firebase configuration in the app with your Firebase credentials.
-
Set up the backend:
- Clone or set up the Node.js backend server.
- Configure MongoDB Atlas for storing turf and booking data.
- Install necessary dependencies for the backend server.
-
Run the app:
-
Start the development server:
npm start
-
For iOS:
npx react-native run-ios
-
For Android:
npx react-native run-android
-
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.