Dobule contains a dummy data folder that is used for managing what data shows up in the application. If you do not use static data and want to make it dynamic, this would be a great help in understanding how to format your data.

In order to find the folder please go to Dobule/DummyData and look for *.json or *.js files and replace them with desired data.

For example, javascript May look like this:

import React from 'react';
module.exports = {
  data: [
    {
      title: 'LOREM IPSUM DOLOR',
      description:
        'Quisque sit amet felis vitae elitbibendum sollicitudin. Fusce sit amet enim viverra, pellentesque libero eu, gravida leo. Pellentesque eu nisl vestibulum, eleifend mi vel, molestie ante.  Praesent id mauris nisl. Nunc aliquam turpis in rhoncus consequat. Curabitur et gravida enim, a ullamcorper massa. ',
    },
    {
      title: 'LOREM IPSUM DOLOR',
      description:
        'Quisque sit amet felis vitae elitbibendum sollicitudin. Fusce sit amet enim viverra, pellentesque libero eu, gravida leo. Pellentesque eu nisl vestibulum, eleifend mi vel, molestie ante.  Praesent id mauris nisl. Nunc aliquam turpis in rhoncus consequat. Curabitur et gravida enim, a ullamcorper massa. ',
    },
    {
      title: 'LOREM IPSUM DOLOR',
      description:
        'Quisque sit amet felis vitae elitbibendum sollicitudin. Fusce sit amet enim viverra, pellentesque libero eu, gravida leo. Pellentesque eu nisl vestibulum, eleifend mi vel, molestie ante.  Praesent id mauris nisl. Nunc aliquam turpis in rhoncus consequat. Curabitur et gravida enim, a ullamcorper massa. ',
    },
  ],
};

This data will be used on FAQs page to display information, if you make any changes here it should appear on that page.

JSON file would look like this:

{
    "messages": [
        {
            "id": 1,
            "username": "sabrina",
            "dateSent": 1609244048,
            "text": "Hello",
            "profilePicturePath": "<https://images.unsplash.com/photo-1601999109332-542b18dbec57?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=1050&q=80>"
        },
        {
            "id": 2,
            "username": "sabrina",
            "dateSent": 1609244048,
            "text": "I am waiting for you now",
            "profilePicturePath": "<https://images.unsplash.com/photo-1601999109332-542b18dbec57?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=1050&q=80>"
        },
        {
            "id": 3,
            "username": "deliveryguy",
            "dateSent": 1609244048,
            "text": "Hello",
            "profilePicturePath": "<https://images.unsplash.com/photo-1579540252588-da0ee883560d?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80>"
        },
        {
            "id": 4,
            "username": "deliveryguy",
            "dateSent": 1609244048,
            "text": "Can you take a picture of your location?",
            "profilePicturePath": "<https://images.unsplash.com/photo-1579540252588-da0ee883560d?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80>"
        }
    ]
}

We also have used React Redux Store to keep the information from the user's actions and store necessary information from JSON or JavaScript files into appropriate fields defined in the redux store. If you are not a developer, you might have a hard time understanding these concepts, so you can reach out to us if you need any customizations. You can also go to Redux Official Website to find out more information about how redux works.

You can find all redux setup files in the redux src/redux folder

You will find defined constants in constants/constants.js file that we will utilize at multiple screens/components when needing information that is shared across the application.

If you have any other questions please do not hesitate to contact us.