Skip to content

Commit cab079b

Browse files
author
Eter Nada
committedJul 3, 2024·
readme file preparing for the script
1 parent 8975bdc commit cab079b

File tree

5 files changed

+32
-1
lines changed

5 files changed

+32
-1
lines changed
 

‎FLASK PROJECTS/E-commerce/app.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
Session(app)
2626

2727
# Configure CS50 Library to use SQLite database
28-
db = SQL("sqlite:///library.db")
28+
db = SQL("sqlite:///shop.db")
2929

3030

3131
@app.after_request

‎FLASK PROJECTS/E-commerce/flask.png

107 KB
Loading

‎FLASK PROJECTS/E-commerce/readme.md

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Shop
2+
<p align="center">
3+
<img src="/flask.png" alt="alt text">
4+
</p>
5+
6+
---
7+
## Description
8+
Hi, this my attempt to build a script for an e-commerce web app using Flask.
9+
### Templates:
10+
11+
* The index template serves as the catalog for the shop's products.
12+
* Cart template deal with user's transactions
13+
* Payment template
14+
* The products template displays all products .
15+
16+
### other files:
17+
18+
* Database.
19+
* helpers-- functions that help.
20+
* App-- main script
21+
22+
23+
24+
![github](https://img.shields.io/badge/github-000000?style=for-the-badge&logo=github&logoColor=white)](https://github.com/tarenjk24)
25+
26+
27+
---
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
Flask
3+
Flask-Session
4+
requests

‎FLASK PROJECTS/E-commerce/templates/products.html

Whitespace-only changes.

0 commit comments

Comments
 (0)
Please sign in to comment.