Description:
The aim of this project is to develop a user-friendly application for a Grocery Store, enabling admin to add various categories and to add various products in them and allowing the users to buy through various categories and products. Cart in the Users feed gives an overview of the things bought and the amount to be paid. History gives us an overview to look at the products bought previously.
Technologies used:
DB SQLite – for Database creation
Jinja2 templates
SQLite database
Flask – SQL alchemy
Flask
Flask login
Flask flash – for flashing messages
Project folder contains app.py, templates folder which contains all the html templates and static folder contains all the images used in the application and the graph. It is an multiuser application Where people can buy the groceries online.
The core requirements of the project are as follows:
User login: This functionality will allow the user to create new account and after that the user will be able to login.
Admin login: This functionality allows admin to login to the account.
Category management: The admin is able to create various categories and able to modify and delete them. This functionality is achieved using both frontend (Bootstrap cards) and backend. Admin can update and delete the data and the controllers are rendering the updated the data on the templates.
Products management: The admin is able to create various products and able to modify and delete them. This functionality is achieved using both frontend (Bootstrap cards) and backend. Admin can update and delete the data and the controllers are rendering the updated the data on the templates.
Cart products: Users can add many products from different categories and can update the quantity in cart. Users can view the availability of the products before adding to the cart.
Search: Users have the ability to search for available products in the application.
Summary page: This functionality is achieved with the combination of frontend and backend. To achieve this matplotlib library is used. Graph generated will give an overview of the revenue generated by selling the products.
Additional features:
Admin and users can logout from their account.
A user can view the previously purchased products.
Only admin can edit or delete the products or category.
A user can buy many products from different categories.
A user can edit the quantity of products in the cart.