Overview:
react-native-mantra-boilerplate is a react-native boilerplate based on Meteor/Mantra. It is still in its alpha stage, but it follows the Mantrajs specification and works with Mantrajs Atom Package. The boilerplate includes features such as login/logout functionality and routing. It also includes packages such as react-native-meteor, react-native-router-flux, tcomb-form-native, NativeBase, and react-native-vector-icons.
Features:
- Follows Mantrajs specification
- Fully works with Mantrajs Atom Package
- Login/Logout functionality
- Uses react-native-meteor for Meteor client
- Handles routes with react-native-router-flux
- Handles forms with tcomb-form-native
- Includes UI styling with NativeBase
- Uses react-native-vector-icons for multiple icons
Installation:
To install the react-native-mantra-boilerplate, follow these steps:
Clone the repository using the command
git clone https://github.com/inProgress-team/react-native-mantra-boilerplate.git your-project-nameNavigate to the cloned directory using
cd your-project-nameInstall the required dependencies using
npm installChange the IP in
src/client/context/app.jsto your computer address running the meteor serverRun your react-native project using the appropriate command
Please note that npm@3 is required due to react-native-router-flux actual version.
Summary:
React-native-mantra-boilerplate is a react-native boilerplate that is still in its alpha stage. It follows the Mantrajs specification and works with Mantrajs Atom Package. The boilerplate includes features such as login/logout functionality and routing. It also includes packages such as react-native-meteor, react-native-router-flux, tcomb-form-native, NativeBase, and react-native-vector-icons. The installation process requires cloning the repository, installing dependencies, and making some changes to the configuration file. Overall, this boilerplate provides a good starting point for building react-native applications using the Mantra architecture.