Prerequisites
Before you begin, ensure you have the following installed:- Node.js 18.x or later
- npm, yarn, or pnpm package manager
- Expo CLI for React Native development
- Appwrite account for backend services
- iOS Simulator (macOS) or Android Emulator for testing
CricTalk is a mobile application built with React Native and Expo. You’ll need either an iOS Simulator, Android Emulator, or the Expo Go app on your physical device for testing.
Installation
Install dependencies
Install the required npm packages:This will install all dependencies including:
- React Native 0.81.5 and Expo SDK 54
- Appwrite SDK for React Native
- NativeWind for styling
- Zustand for state management
- Navigation and UI libraries
Configure Appwrite backend
Create a Update
.env.local file in the project root by copying the example:.env.local with your Appwrite credentials:Set up Appwrite project
You’ll need to set up the Appwrite backend infrastructure:
- Create an Appwrite project in your Appwrite console
- Create a database named “cric_talk”
- Set up the required tables (posts, comments, rooms, roomMessages, users, notifications, rateLimit)
- Deploy the guard functions from the
functions/directory - Configure authentication methods (email/password recommended)
Run the application
Start the Expo development server:- Press
ito open iOS Simulator - Press
ato open Android Emulator - Scan the QR code with Expo Go app on your physical device
Create your first post
Once the app is running, try creating your first cricket post:Sign up for an account
On the login screen, tap Create Account and fill in your details:
- Choose a username
- Enter your email address
- Create a secure password
Navigate to the home feed
You’ll land on the home screen showing the posts feed. This is where all cricket discussions appear.
Create a post
Tap the orange + button in the bottom-right corner to open the post creation modal.In the modal:
- Write your cricket thoughts (up to 512 characters)
- Optionally attach up to 4 images
- Tap Post to publish
Join a match room
Experience real-time cricket discussions in match rooms:Create a match room
Tap the orange + button to create a new match room:
- Select teams - Choose the competing teams
- Set match details:
- Match type (ODI, TEST, or T20)
- Start time
- Optional end time
- Configure settings - Enable/disable room locking
- Tap Create Room
Check the leaderboard
See where you rank among cricket fans:- From the Rooms screen, tap the back arrow to reveal the leaderboard option
- Tap Leaderboard to view the top 10 most active users
- Your ranking is based on your total message count across all rooms
- Keep participating in discussions to climb the ranks!
Next steps
Explore features
Learn about all the features CricTalk offers
User guide
Detailed guides on using the platform
Architecture
Understand CricTalk’s technical architecture
API reference
Explore the service APIs and hooks