Master Push Notifications in React Native
Based on the Trivia Example App. View that repo for additional documentation.
This app is built on top of Expo so the first requirement is to install Expo.
After cloning the repo and moving into the mobile
directory run the following command:
yarn install
- Installs dependencies
You can then open the app from within the Expo XDE (or the command line) and run it from there.
After cloning the repo and moving into the server
directory run the following commands:
yarn install
- Installs dependenciesyarn run db:migrate-latest
- Creates the database (based on sqlite)yarn run db:seed
- Seeds the database with some data
yarn start
- Starts the server, making it accessible onhttp://localhost:3000