A WhatsApp clone build using Flutter and AWS Amplify DataStore

Overview


Logo

Whatsapp Clone using Amplify DataStore in Flutter

About The Project

product-screenshot

Built With

Getting Started

To get a local copy up and running follow these simple steps.

Prerequisites

  • You should have Flutter installed in your system.
  • AWS account is required to provision all the resources.
  • AWS Amplify CLI should be installed and configured with AWS Account.

Installation

  1. Clone the repo

    git clone https://github.com/GeekyAnts/flutter_amplify_datastore_demo
  2. Install NPM packages

    flutter pub get
  3. Run Amplify init to initialize Amplify project and app api to provision resource

    amplify init
    amplify add api
    amplify add auth
    // Choose email and password authentication.
  4. Replace graphql schema in amplify/backend/api/FlutterAmplifyApi/schema.graphql file with below content.

    type ChatRoom
      @model
      @auth(rules: [{ allow: public }])
      @key(name: "byUser", fields: ["userID"]) {
      id: ID!
      otherUserId: String
      otherUserName: String
      userID: ID
      chatId: String
      untitledfield: String
    }
    
    type ChatData @model @auth(rules: [{ allow: public }]) {
      id: ID!
      message: String
      createdAt: AWSDateTime
      chatRoomId: String
      senderId: String
    }
    
    type User @model @auth(rules: [{ allow: public }]) {
      id: ID!
      username: String!
      email: String
      bio: String
      profileImage: String
      isVerified: Boolean
      createdAt: AWSDateTime
      chats: AWSJSON
      ChatRooms: [ChatRoom] @connection(keyName: "byUser", fields: ["id"])
    }

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/flutter_amplify_datastore_demo)
  3. Commit your Changes (git commit -m 'Add some flutter_amplify_datastore_demo')
  4. Push to the Branch (git push origin feature/flutter_amplify_datastore_demo)
  5. Open a Pull Request
You might also like...

This is somehow the clone of some of the WhatsApp UI

whatsapp_clone A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started i

Nov 11, 2021

Simple tool to open WhatsApp chat without saving the number, developed using Google's Flutter Framework.

Simple tool to open WhatsApp chat without saving the number, developed using Google's Flutter Framework.

Simple tool to open WhatsApp chat without saving the number, developed using Google's Flutter Framework. for Android/ IOS/ Desktop/ Web

Nov 1, 2022

I cloned WhatsApp using flutter.

I cloned WhatsApp using flutter.

whatsapp_clone A new Flutter project. Run Mobile & Desktop $ Platform.isAndroid || Platform.isIOS ? Mobile() : MyHomePage(), In order to run your a

Dec 30, 2022

Wordle-clone - A Wordle-clone built using Flutter

Wordle-clone The project consists of two applications : wordle_clone_api : Which

Jan 25, 2022

Redesenhando a UI do Whatsapp

Redesenhando a UI do Whatsapp

WhatsappUI Redesenhando a UI do Whatsapp Comandos rodar na sua maquina Digitar o comando Flutter run Ou digitar o comando flutter get packages. Como c

Mar 23, 2022

A simple Whatsapp redesign dark mode concept based on UI Gradient Post on Instagram.

A simple Whatsapp redesign dark mode concept based on UI Gradient Post on Instagram.

whatsapp_ui A simple Whatsapp redesign dark mode concept based on UI Gradient Post on Instagram.

Dec 16, 2022

Whatapp clone UI - WhatApp UI clone in flutter

Whatapp clone UI - WhatApp UI clone in flutter

whatapp clone in flutter WhatApp UI clone in flutter Getting Started

Feb 6, 2022

Fashion App Clone - a clone app from Emre Altunbilek's Flutter Course

Fashion App Clone This is a clone app from Emre Altunbilek's Flutter Course. I am trying to clone UI and improve code.

Oct 2, 2022

A clone of the TikTok App using Flutter.

A clone of the TikTok App using Flutter.

Tik Tok App clone TikTok is an iOS and Android media app for creating and sharing short videos. The app was launched in 2017 by ByteDance, for markets

Dec 19, 2022
Owner
GeekyAnts
GeekyAnts
Just an application that creates a photo gallery which integrates both Flutter for front-end and AWS Amplify for back-end.

flutter_amplify A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started

null 0 Nov 24, 2021
WiwaChat-WhatsApp-Like-Clone - A beautiful and fully functional WhatsApp UI clone in Flutter

Wiwa Chat - A WhatsApp Clone in Flutter A beautiful and fully functional WhatsAp

Ogbodo ThankGod 7 Nov 6, 2022
Whatsapp-clone - A whatsapp clone with dart

whatsapp-clone Just a simple whatsapp clone with dart

arinzejustinng 1 Mar 28, 2022
Whats-App-Clone-UI-using-Flutter - WhatsApp Clone UI using Flutter

WhatsApp ?? Clone UI ?? using Flutter ?? Screenshots Links My Socials Youtube ch

AmirHossein Bayat 6 Dec 7, 2022
WhatsApp is a cross-platform mobile appllication that provides an end-end encrypted instant messaging system And i build a clone of it with flutter.

whatsapp_clone Table of contents General info Youtube video Technologies Packages & libraries used Features Setup General info WhatsApp is a cross-pla

Imad Eddarraz 7 Dec 23, 2022
Sample flutter app for getting started with the Amplify Flutter Library.

Amplify Flutter Example Sample flutter app for getting started with the Amplify Flutter Library. This example uses the Auth, Analytics, and Storage co

Dao Hong Vinh 10 Jan 19, 2022
High-level APIs for Amazon Web Services (AWS) in Dart

High-level APIs for Amazon Web Services (AWS) in Dart Shared API utilities Generated API packages directory DocumentClient for DynamoDB Code generator

null 178 Dec 28, 2022
Mobile and Desktop whatsapp clone with Flutter UI tool kit

Mobile and Desktop whatsapp clone with Flutter UI tool kit

Travis Okonicha 10 Oct 25, 2022
Building a WhatsApp Clone in Flutter.

Flutter WhatsAppClone Building a WhatsApp Clone in Flutter. Show some ❤️ and star the repo to support the project Screenshots Watch the video tutorial

Pawan Kumar 1.5k Jan 7, 2023
Whatsapp Clone App made with Flutter

Whatsapp Clone App made with Flutter

Yılmaz Yağız Dokumacı 11 Aug 26, 2022