An e-commerce web application using Flask, HTML and CSS
- π Projects : root folder
-
π static/ : Contains static files like image files and CSS files
- π login.css : css file for login and register
- There are also image files present here that is loaded in my html files when required.
-
π templates/ : Contains HTML files
- π layout.html : This is the layout html file that other html files inherit from
- π index.html : HTML file for the main view for the "/" route
- π login.html : HTML for the login view
- π shop.html : HTML for different categories
- π cart.html : HTML for a user's Shopping Cart
- π signup.html : HTML for the sighning up view
- π create.html : HTML for creating a listing (contains form)
- π error.html : HTML for when an error occues (I used this for just testing purposes)
-
π app.py : Main flask application contains all the Models, views and routes.
-
π site.db : the sqlite databse file
-