/The-Market

An e-commerce web application using Flask

Primary LanguagePython

The-Market

An e-commerce web application using Flask, HTML and CSS

Navigating the file system:

  • 📂 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