It's a multi-user (customer, store manager, delivery executive, developer) e-commerce app to manage a grocery store, made using Flask framework and SQLite database. It can be used to search and query products and place orders by customers, manage product inventories and different categories by the store manager, and manage deliveries by the delivery executive. The developer can use the CRUD APIs for products and categories using their private API keys. Each folder has a README.md file except static and templates folders. The ScreenFlow folder has screenshots of the website and shows the flow for all users(except developer).
application/APIdoc.yaml
file in Swagger Editorgit clone https://github.com/Schefflera-Arboricola/Grocery-Store.git
cd Grocery-Store
sh local_run.sh
fileapplication/config.py
file, in the LocalDevelopmentConfig
class comment the SQLITE_DB_DIR
initialization for docker and uncomment for the virtual environmentsh local_setup.sh
sh local_run.sh
http://127.0.0.1:8080
in the browser to view the website.env
filedocker-compose up --build
http://127.0.0.1:8080
in the browser to view the website* If you get any keyword error, go to inspect and try deleting the cookie data
Test users' login credentials for all types of users :
username
: aditijuneja
password
: 123456789
(Change the customer's phone number to the number you want to receive the OTP on, using the 'Edit Profile' option on the dashboard)
Feel free to make any issues/PRs to better the project.