Whatsapp Clone using Amplify DataStore in Flutter

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...

Flutter-Udemy - - A Udemy clone using Flutter sdk and dart.

Flutter-Udemy - - A Udemy clone using Flutter sdk and dart.

udemy_clone A new Flutter project. Below are some images : Getting Started This project is a starting point for a Flutter application. A few resources

Apr 24, 2022

Flutter-meet - A Google Meet clone made in Flutter using 100ms

Flutter-meet - A Google Meet clone made in Flutter using 100ms

Flutter x Meet - Google Meet clone made in Flutter Google Meet clone made in Flu

Nov 30, 2022

Instagram clone built using flutter and firebase

instagram_clone An instagram clone built using Flutter and Firebase. Introduction Flutter is a develpment kit created by google using which you can bu

Jun 8, 2022

A clone of CRED application. Build using Flutter and Dart

A clone of CRED application. Build using Flutter and Dart

CRED Clone in Flutter This is a clone of CRED application. Build using Flutter a

Dec 2, 2022

Instagram Ui Clone made using Flutter.

Instagram Ui Clone made using Flutter.

flutter_instagram_ui_clone Some Screenshots A new Flutter project. Getting Started For help getting started with Flutter, view our online documentatio

Dec 31, 2022

A working Twitter clone written in Flutter using Firebase auth,realtime,firestore database and storage

A working Twitter clone written in Flutter using Firebase auth,realtime,firestore database and storage

A working Twitter clone written in Flutter using Firebase auth,realtime,firestore database and storage

Dec 24, 2022

A simple YouTube UI clone made using Flutter

A simple YouTube UI clone made using Flutter

youtube_clone_flutter About A clone of the YouTube app that I created using Flutter, took reference from this version of YouTube clone. Snapshots Home

Dec 13, 2022

A google browser clone which is made by using flutter and fetching the google search api for the search requests.

A google browser clone which is made by using flutter and fetching the google search api for the search requests.

google_clone A new Flutter project. Project Preview Getting Started This project is a starting point for a Flutter application. A few resources to get

May 31, 2022

Completely Responsive Instagram Clone App created using flutter and firebase

Instagram Clone Completely Responsive Instagram Clone App created using flutter and firebase - works on Android & web Features Responsive Instagram UI

Feb 11, 2022
Owner
Ashish Singh Chauhan
Ashish Singh Chauhan
Whatsapp UI clone made with Flutter; it is compatible with any type of Android and iOS devices.

whats_app Whatsapp UI built with Flutter; it is compatible and responsive with any type of Android and iOS devices. Getting Started This project is a

Mustafa Nabavi 4 Sep 23, 2021
Whatsapp clone made with Flutter

flutter_whatsapp Whatsapp (ver. 2.19.98) clone using Flutter. About I made this for my study/exercise on Flutter. I only make the client-side app, the

hanmajid 162 Dec 18, 2022
Responsive Whatsapp CLone - MVVM Architecture,Provider

whatsapp_clone Flutter project. Using MVVM Architecture, firebase, Provider and Rest API This project is a starting point for a Flutter application. A

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

OpenWp Simple tool to open WhatsApp chat without saving the number Explore the docs » View Demo · Report Bug · Request Feature Table of Contents About

Swarup Bhanja Chowdhury 15 Nov 1, 2022
Instagram-clone - Instagram clone built using flutter and Firebase

Instagram-clone statistics of Firebase usage User Authentication for Instagram l

null 5 Jul 18, 2022
a small app with a collection to WhatsApp group links

linki A community based app for links to social media groups. Intro Linki is a simple app that shows an interactive list of links to social media grou

Sean 11 Sep 19, 2021
This is a whatsapp ux redesign i did. The aim of this project was to solidify my knowledge UX and UI design.

whatsapp-ux-redesign This is a whatsapp ux redesign i did. The aim of this project was to solidify my knowledge UX and UI design. Screenshots of the p

Adeniji Victor 115 Dec 4, 2022
Send-a-msg - Send message to WhatsApp without saving number

Send A Message Send Message to Whatsapp without saving number ToDo add logging s

Sujal 3 Apr 3, 2022
Wordle clone flutter - Wordle clone built with flutter

Wordle Generated by the Very Good CLI ?? A Very Good Project created by Very Goo

Oscar 4 Jun 7, 2022
Netflix clone flutter - A clone of netflix UI Built with flutter

Netflix Clone Ui Projeto onde foi criado um clone da interface da Netflix para m

null 4 Aug 18, 2022