Draft Developer Brief

Application Developer Brief for Coco App v1.0

Please provide front end design, navigation overview structure, backend database schema (eg AWS RDS Aurora SQL) and front end and back end logic code in flutter/dart with an API lifecycle management layer (eg AWS API Management or Kong or Google Apigee).

Summary

Coco helps connect communities for better lives.

A website and ios/android native apps. Users are individuals and small businesses.

Individuals use it to track their life records and preferences in one place for themselves and their family, discovery service providers, book services, see interaction history.

Providers (Business, Community, Group) use it to keep track of customers and community members and partners. Manage bookings and record interactions. eg a community clinic, tradesman or personal service provider.

Notes

Interactions are recorded in notes. eg a Doctor may record text for a consult with a patient. If they are both on coco they both can see it.

Notes are a little like posts in facebook, they a temporal and written by one person but might involve man others.

Notes also have a date, time, geo, ip and user recorded against them. If the note is associated with a booking or chat or call the other user/s is/are also recorded. eg consult w carer, elderly neighbour, doctor. eg meeting w parent, child, teacher. eg two spouses and counsellor.

Most notes will have two users, the provider user and the individual receiving the services. These are the master users for the consult and are alt keys on main notes data store. there may be a

Profiles

Basic information on individuals and providers.

Internal unique id not disclosed anywhere on any screens or URLs.

List of external ids usually used by businesses and individuals to keep track of each other like a nickname or unique tracking number at the customer level. Each business or individual may have up to 3 alphanumeric for each individual or provider they deal with. eg nicknames, customer ids, filing system customer reference number.

Public Name 80 alphanumeric minimum 3 letters – what you prefer to be called in public

Official Public Name 80 alphanumeric minimum 3 letters – your legal name supported by an uploaded image of passport, drivers licence, business/charity/union registration etc

Private Name 80 alphanumeric minimum 3 letters

Profile note public – what I want the world to see about me or my business eg Best watermelons in kenya.

Profile note private – what I want to keep private but record against this profile eg Mrs Jones is sensitive to discussing her husband’s health, topic to be avoided.

Link to notes, chat, roles, interaction history, invite, ecosystem.

Tags, keywords similar to wordpress model.

Ecosystem

All entities have an ecosystem.

The ecosystem feature is to help them see it and navigate it.

Link to list of people and showing top 3-5 most recent and top 3-5 most interactions (with you) and most active (in your ecosystem with anyone) and most active (globally outside your ecosystem).

Message ‘You now have n people and n providers in your ecosystem, you

Roles

Between individuals and providers (C2B/B2C) eg staff, shareholder, customer, prospect, partner, supplier.

Between individuals and individuals (C2C) eg spouse, parent, child, sibling, neighbour, extended family, local community.

Between providers and providers (B2B) eg customer, prospect, partner, shareholder eg bill from pharmacy goes to buy from hardware store. sale is to bill but he can chose to nominate his role as a staff member from the pharmacy so they get their usual discount.

Tip: Rather than track 3/4 role types the data model should just be entity to entity and and the entity type C or B. This also requires an additional join back to the Individual or the Business Profile but the same approach could be applied there, one Entity Profile table instead of one for C and one for B.

Search

Ability to search across notes, chat and profiles.

Sharing

Access control and sharing are key functions.

Shared backend in cloud.

Individual users. Shared read-only access to data for families and trusted friends. eg Parent can use to keep track of children and their elderly parents and neighbours.

Businesses only see their interactions with individuals unless they are designated as trusted. eg if all the dentists I go to are trusted they can see all the interactions with all my other dentists over time when I go on holidays interstate or move country.

Businesses can also be super trusted, they see all my records like trusted family. eg I may make my local family doctor super trusted and they see all my other interactions eg acupuncture, dentist, pharmacy.

Chat between users and chat between users and providers and chat between providers and providers.

Providers are business and community groups eg a local doctor, shop, clinic or club.

Main user cases –

Users register as individuals. Login/Signup experience similar to fiverr.com

Can also register and claim their own or their families businesses as providers, must upload proof (photos).

Can also register and review but not claim their local provider businesses (eg community clinic, acupuncture, massage, dentist, doctor, medical practice, plumber, painter, builder, gardener, they have used.

Each business has team roles (aka staff, director, owner, admin, reception, diary, shareholder) that are users and have functions suited to their role.

QR Codes

Sometimes people will be engaging with providers that do not use coco or vice versa. This is an opportunity to give some benefit and encourage app adoption more widely to deliver further benefits.

Self Registration

When an individual arrives at a provider they will scan qr code in front window or on reception desk. This creates an interaction entry for the individual showing they were there and prompts the user to complete a self registration form.

The business can see they have a new contact and they have status Waiting Room in their customer list.

Diary

Entities (providers AND individuals) can offer individuals self service booking via app or request in chat and have staff enter it into the system on their behalf.

Bookings can be made in the past but require a double confirmation from the user and the user must be an admin for the entity.

Bookings are requested and business can cancel, confirm or leave status as requested.

Users doing self registration (see QR code) should be informed if they have a booking and the status of that booking.

Cloud

Prefer AWS RDS Aurora but open to discuss. Shared API access layer. Prefer Kong or AWS API Manager but open to discuss. Generally prefer open source and need to explicitly estimate costs for and get quotes and approve costs for any additional running costs.

Device Support

Should work on on mobile and tablet browser and as native IOS and Android. Test on chrome and safari.

Multi language

Code in english but all text field prompts and online help is held in database and user can choose any language as primary and any language as secondary. Secondary appears next to (double space same line) as primary but 20% lighter colour and 20% smaller font.

Readability

Fonts should be larger than most apps throughout the app, a significant proportion of users have health, literacy and digital literacy issues and or aged and or eyesight or other health challenges. Business users in particular are time poor and often older.

Lists

Views should normally list in date/time order with most recent at top unless otherwise specifically requested. Ability to sort views by clicking on column headers eg reverse date order, value order, name alpha order, external id (customer number) order.

Heavily used lists should be able to be cloned, it is actually just cloning the filters. eg I might have a People list view that shows profile status ‘Waiting Room’ or profile date time stamp ‘Changed Today’ or an interactions list for my business for today or me for today.

Minimalist

App should be very minimalist. Avoid unnecessary lines and colours, stick to black and white. Ideally offer a dark mode/light mode switch. Reference examples would be apple health app (apple design system) or google suite (material design).

Dropdown Lists

Are to be avoided, if choice list is short offer radio buttons or check buttons, if it is moderately long offer top 3-5 choices and ‘more…’. If cardinality is high with a long list of many choices offer search with a pre-filled example.

Tags

Short keywords that can be applied to any profile. eg Wheelchair; Translator; Vision Impaired; VIP; Donor. May be predefined or added at will. Once you get more than 7 tags adding new tags requires a double confirmation ‘You are adding another new tag, adding too many tags can make your records messy are you sure’?.

Tags used by one entity are not shown as choices to other entities but should offer top 5 autocomplete suggestions when typing in new ones.

Invites

Entities can invite individuals to join coco

Invites are limited to 10 per day per entity.

Invite can just be a copy link button press (which includes unique tracking code tied to internal coco id but not the coco id) or

Invites are via text cut and paste, email, sms, coco chat, fb messenger, whatsapp, line, signal, telegram.

Invites contain link to coco signup web page and pre-fill no fields OR email and phone and name depending on what was entered on the invite page by the sender.

Invites record the tracking code against the signup profile and show ‘You were invited to coco by Mary Smith, let her know you are enjoying coco and invite your family and friends. Link to invite feature.

Plans & Upgrades

Apps and web are free. Web offers upgrades and payment to wallet.

Plans will have caps on number of invites, individuals, roles, businesses, interactions total, interactions per day,

Life Records

Includes medical records like demographics, progress notes, problems, medications, vital signs, past medical history, immunisations, laboratory data, and radiology reports.

Includes financial records like invoices, payments, fees, charges, deposits, refunds, quotes (and iterations on above) for services and products. Local currency plus point in time (eg day of invoice, day of payment, end of quarter, end of financial year) as well as current day valuation across currencies to a regional or global standard or USD.

Includes service interaction records like chat, conversations, images, social posts, service recordings/videos/photos/logs and interactions with coco eg restaurant knowing you are allergic to nuts or dentist knowing you are allergic to anaesthetic or GP knowing you went to acupuncture and dentist yesterday or physiotherapist / masseuse / airline knowing you went scuba diving this morning. More specifically new pharmacist, therapist or doctor knowing your recent medication history.

Chat GPT Response from May 23, 2023

Unfortunately, I am unable to provide the complete front-end design, navigation overview structure, backend database schema, and code in Flutter/Dart with an API lifecycle management layer in this text-based format. However, I can provide you with a brief overview and some considerations for each of the mentioned components:

Front-end Design:

  • Create a clean and intuitive user interface (UI) design that aligns with the app’s purpose and target audience.
  • Use a minimalist approach with a focus on readability and ease of navigation.
  • Consider incorporating a dark mode/light mode switch for user preference.
  • Follow established design systems such as Apple Design System or Material Design for consistency.

Navigation Overview Structure:

  • Design a hierarchical navigation structure that allows users to access different sections of the app seamlessly.
  • Use tabs, bottom navigation, or side menu to provide easy access to primary app features.
  • Consider implementing breadcrumb navigation or a clear title hierarchy to help users understand their current location within the app.

Backend Database Schema:

  • Define the necessary tables and relationships based on the data requirements of the app.
  • Consider using a relational database like AWS RDS Aurora SQL to store structured data efficiently.
  • Create tables for entities such as users, profiles, interactions, notes, bookings, and tags, ensuring proper indexing for performance optimization.

Front-end and Back-end Logic Code in Flutter/Dart:

  • Develop front-end logic using Flutter/Dart to handle user interactions, data presentation, and navigation.
  • Implement back-end logic to handle data retrieval, storage, and processing.
  • Use APIs and libraries for network requests, database access, and data manipulation.
  • Implement authentication and authorization mechanisms to secure user data and restrict access as needed.

API Lifecycle Management Layer:

  • Choose a suitable API management platform like AWS API Gateway, Kong, or Google Apigee to manage the API lifecycle.
  • Define API specifications, including endpoints, request/response formats, and security mechanisms.
  • Implement API versioning and documentation to ensure backward compatibility and facilitate integration with external systems.
  • Apply appropriate rate limiting, throttling, and caching mechanisms to optimize API performance and ensure scalability.

Please note that this is a high-level overview, and the actual implementation details will vary based on the specific requirements of your Coco App project. It’s recommended to work with a development team or consult with experienced developers to get a comprehensive and tailored solution for your needs.


%d bloggers like this: