๐Ÿ“ฆ RivaanRanawat / flutter-amazon-clone-tutorial

Full Stack Amazon Clone with Admin Panel using Flutter, Node, MongoDB

โ˜… 502 stars โ‘‚ 283 forks ๐Ÿ‘ 502 watching
fluttermongodbmongoosenodenodejs
๐Ÿ“ฅ Clone https://github.com/RivaanRanawat/flutter-amazon-clone-tutorial.git
HTTPS git clone https://github.com/RivaanRanawat/flutter-amazon-clone-tutorial.git
SSH git clone git@github.com:RivaanRanawat/flutter-amazon-clone-tutorial.git
CLI gh repo clone RivaanRanawat/flutter-amazon-clone-tutorial
Rivaan Ranawat Rivaan Ranawat adding readme 9ca3719 3 years ago ๐Ÿ“ History
๐Ÿ“‚ master View all commits โ†’
๐Ÿ“ android
๐Ÿ“ assets
๐Ÿ“ ios
๐Ÿ“ lib
๐Ÿ“ macos
๐Ÿ“ server
๐Ÿ“ test
๐Ÿ“ web
๐Ÿ“ windows
๐Ÿ“„ .gitignore
๐Ÿ“„ .metadata
๐Ÿ“„ pubspec.lock
๐Ÿ“„ pubspec.yaml
๐Ÿ“„ README.md
๐Ÿ“„ screenshot.png
๐Ÿ“„ README.md

Amazon Clone

Full Stack Amazon Clone along with Admin Panel

Features

  • Email & Password Authentication
  • Persisting Auth State
  • Searching Products
  • Filtering Products (Based on Category)
  • Product Details
  • Rating
  • Getting Deal of the Day
  • Cart
  • Checking out with Google/Apple Pay
  • Viewing My Orders
  • Viewing Order Details & Status
  • Sign Out
  • Admin Panel
  • Viewing All Products
  • Adding Products
  • Deleting Products
  • Viewing Orders
  • Changing Order Status
  • Viewing Total Earnings
  • Viewing Category Based Earnings (on Graph)

YouTube

I have created a tutorial based on this, do check it out on my channel Rivaan Ranawat

Youtube Tutorial Image

Running Locally

After cloning this repository, migrate to ``flutter-amazon-clone-tutorial` folder. Then, follow the following steps: - Create MongoDB Project & Cluster - Click on Connect, follow the process where you will get the uri.- Replace the MongoDB uri with yours in `server/index.js`. - Head to `lib/constants/global_variables.dart` file, replace <yourip> with your IP Address. - Create Cloudinary Project, enable unsigned operation in settings. - Head to `lib/features/admin/services/admin_services.dart`, replace `denfgaxvg` and `uszbstnu`` with your Cloud Name and Upload Preset respectively.

Then run the following commands to run your app:

Server Side

cd server
  npm install
  npm run dev (for continuous development)
  OR
  npm start (to run script 1 time)

Client Side

flutter pub get
  open -a simulator (to get iOS Simulator)
  flutter run

Tech Used

Server: Node.js, Express, Mongoose, MongoDB, Cloudinary

Client: Flutter, Provider

Feedback

If you have any feedback, please reach out to me at namanrivaan@gmail.com