This is the frontend for the Soccer Pools project, built using React Native and Expo. The project consists of a picking game where users predict the outcomes of all matches in a league and earn points based on their predictions:
- 3 points: Exact result prediction
- 1 point: Correct winner prediction
- 0 points: Incorrect prediction
Users can create groups (called tournaments) to compete with their friends.
This project is currently in its early development stage and has not yet reached its first official version.
- Predict match outcomes and score points based on accuracy
- Rankings based on League and Stage
- Create and join tournaments to compete with friends
- Social Google OAuth
- Built using React Native and Expo
- Integrated with the SoccerPools API
Ensure you have the following tools installed:
Follow these steps to set up and run the project locally:
-
Clone the repository:
git clone https://github.com/MatiPendino/soccer-pools-mobile.git cd soccer-pools-mobile
-
Install dependencies:
npm install
-
Create an
.env
file at the root of the project and specify the required environment variables:API_URL=http://localhost:8000 ANDROID_CLIENT_ID=your_android_client_id
-
Start the Expo development server:
npx expo start
-
Scan the QR code with your Expo Go app to test the application on your device.
You can run the test suite using the following command:
npm test
This frontend is designed to work with the SoccerPools API.
-
Fork the repository
-
Create a new branch (git checkout -b feature-name)
-
Make your changes and commit them (git commit -m 'Add new feature')
-
Push the changes to your branch (git push origin feature-name)
-
Create a Pull Request
This project is licensed under the MIT License.