Made By Flutter Intern Team - DivineIt Limited
- Touhidur Rahman
- Azad Hossain
- Kanij Koli
- Cookbook: Useful Flutter samples
- online documentation, which offers tutorials, samples, gui
Table of Content
- Summary
- Basic Project Setup
- Sign in Page
- Sign Up Page
- Home Page
- Menu Button
- Popular Page
- Favorite Page
- Restaurant Page
- Restaurant Details Page
- Product Details Page
- Cart Page
- Payment Page
We implemented a Food ordering Android/Ios App using Flutter Framework and Backend using Python3, Django Rest Framework. This app has a Token-based authentication system using Username and Password. First users need to create an account to use the application. After successfully going through authentication users can see the Application UI in the app.
Here users can see all food items and also popular food items of different kinds of restaurants. Users cannot order food from more than one restaurant at one time but can order more than one food item from the same restaurant at the same time. Users can see food details such as the image of food, it's rating and description. Users can cart them for order or place food items on their favorites for watching later or next time ordering. Users can change the quantity of items inside the cart, can add/remove items from the cart. The application will notify users of changes if needed. When the user confirms the cart, the user can complete the order going through the payment process.
- Clone this GitHub repository.
- Create virtual Environment Backend:
- Flutter Project Setup:
You need to make a virtual environment with the requirements.txt file but if you don't have python in your system please install it.
steps:
- Follow the command bellow
- pip install virtualenv
- virtualenv venv (to create your new environment called 'venv' here)
- source venv/bin/activate
- pip install -r requirements.txt (to install the requirements in the current environment
- python3 manage.py migrate
- python3 manage.py createsuperuser (create a super user)
- python3 manage.py runserver
Run the following command from project folder in terminal
steps:
- flutter packages get
Users can log in using their email/username and password, but if they do not have an account, they need to Register first.
To get started, users need to register.
The user can see the application's home page after logging in. Here the user is shown a side-menu, search bar where they can type in the name or keyword of a food item and press the search button. On this page, users can view the food slider, the popular food items in restaurants by sliding, and the restaurants themselves.
Users can access several options when they click on the menu button, such as User Profile, Settings, and Logout.
Users will find here the most popular food items.
The user can favorite items they like the most in order to watch them later or order them again at a later time.
Users can find any type of restaurant.
Users can view all the food available at the restaurant and order products directly from that restaurant.
Users can view food details including its image, rating, and description.
After adding food to the cart users can see that item in the cart and they can order. Users can change the quantity of items. It is not possible to order food from more than one restaurant at a time, but you can order multiple items from the same restaurant.
The user pays for the order after clicking checkout.