Welcome to SocialMediaStarter, a React Native app template for building a social media application. This project provides a foundation for implementing features such as login, registration, and a dashboard for your social media app.
Follow the steps below to get started with SocialMediaStarter:
Make sure you have the react-native setup done on your local machine already, please follow React Native official Documentation
-
Open a terminal or command prompt.
-
Change the current working directory to the location where you want to store the project.
-
Run the following command to clone the repository:
git clone https://github.com/priyankverma/SocialMediaStarter.git
-
Navigate to the project's root directory:
cd SocialMediaStarter
-
Run the following command to install the project dependencies:
npm i
-
Install pods
cd ios && pod install
-
Ensure you have an Android or iOS emulator set up, or connect a physical device for testing.
-
Run the following command to start the app:
npx react-native run-android # or npx react-native run-ios
This will build the app and launch it on the connected device or emulator.
The SocialMediaStarter project has the following directory structure:
• /src
: Contains the main source code of the app.
• `/assets`: Contains static assets like images, fonts, etc.
• `/components`: Contains reusable components and different screens used across applications .
• `/constants`: Contains the data constants, color palletes and fontSizes.
• `/redux`: Contains slices for handling authentication and post creation.
• `/routes`: Contains navigational scheme.
Feel free to explore the code and modify it according to your project's requirements.
Contributions to SocialMediaStarter are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
Thank you for choosing SocialMediaStarter as the foundation for your React Native social media app! I hope you find it helpful and wish you all the best in your development journey.