Welcome to the Xride Airdrop Campaign application! This mini app is designed to manage and facilitate an airdrop campaign for Xride, including features like user login, task management, and leaderboards.
- User Authentication: Log in via Google or by providing a phone number.
- Role Selection: Choose your role within the Xride ecosystem.
- Task Management: View and manage tasks, including the ability to invite friends.
- Leaderboard: See top users based on Xride tokens and completed tasks.
- Navigation: Intuitive bottom navigation for easy access to different parts of the application.
To get started with this project, follow these steps:
-
Clone the repository:
git clone https://github.com/XRIDE-official/Airdrop-Campaign.git -
Navigate into the project directory:
cd Airdrop-Campaign -
Install the dependencies:
npm install
To run the development server, use the following command:
`npm start`
This will start the app and open it in your default web browser.
The project is organized as follows:
src/: Contains the source code for the application.components/: React components used in the application.images/: Images and icons used in the application.App.tsx: Main application file.index.tsx: Entry point for React.
Set up your environment variables in a .env file. For example:
REACT_APP_GOOGLE_CLIENT_ID=your_google_client_id
To run tests, use:
`npm test`
We welcome contributions to improve the Xride Airdrop Campaign application. Feel free to submit issues or pull requests.
This project is licensed under the MIT License. See the LICENSE file for details.
For any inquiries, please contact us at support@xride.com.