Quick Start
In this quick start guide, I'll quickly take you through the services that are required to get the app up and running.
Last updated
Was this helpful?
In this quick start guide, I'll quickly take you through the services that are required to get the app up and running.
Last updated
Was this helpful?
If you find yourself stranded or needing more details on how to install each service, I'd like to refer you to the 'How to' guides that contain all the necessary steps on how to successfully setup your and projects.
ServerApi
Download the project zip file from your purchase page.
Open ServerApi in our preferred code editor.
Install the latest version of .
Create a .env
file in our main project file that will contain all local environment variables used to run the server app.
2. MongoDB Atlas
Sign up for your account.
Create a Free Cluster.
Connect with your ServerApi project by storing your connection string in a local environment variable named: MONGODB_CONNECTION_STRING.
3. Cloudinary
Sign up for your account.
Connect with your ServerApi project by storing your cloud name and api keys strings in local environment variables named: CLOUDINARY_CLOUD_NAME
,CLOUDINARY_API_KEY
, and CLOUDINARY_API_SECRET.
4. Sendgrid
Sign up for your account.
Connect with your ServerApi project by storing your api key string in local environment variables named: SENDGRID_APIKEY.
Update your company and app identity as displayed in your app's email notifications by changing/adding the values in the COMPANY_INFO object in
your constants.js
file.
(Optional): Complete the Sender Authentication steps as laid out in the Sendgrid dashboard.
5. JWT Key
6. Install and run
Install and run your server api project. Simply run the following commands in Terminal / Console:
Your server api should now be running with the following message:
Server is running at: 4000
Database Connected
1. Expo CLI
Install the Expo command line tool using the following command:
2. Install packages
Enter the install command to install the project dependencies:
3. Add global constants
Open the constants.js file and update:
your app and company information:
your API server location url:
Note: do make sure to set the port number to your actual local machine port number which get logged in the terminal when starting up your ApiServer project.
4. Enable development mode
Open the constants.js
file and set the development
variable to true
:
5. Firebase Cloud Messaging
Add Firebase to your Android app.
Download the google-services.json
file and place it in your MobileApp root directory.
6. Run the application
Run either of the below commands to start up your app:
...or on your Android emulator:
Test on iOS Simulator or Android emulator
and add your key string in a local environment variable named: JWT_KEY.
Create a project for your app.
To be able to test your app on the iOS simulator, then follow the instructions on how to set up iOS simulator laid out in .
To test on Android emulator, follow the instructions on how to set up Android emulator laid out in .