Projects
View on GitHub
HarshShah1997/Shopping-Cart
About
A simple e-commerce website built with Flask
Business & FinanceMeasured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalShopping Cart
A simple E-commerce website using Flask.
Dependencies
- Python3
- Flask
- Sqlite
How to run
- Set up database by running database.py (Or you can reuse existing database included in the repo)
- Run main.py
- Enter localhost:5000 in the browser
Pipenv instructions
- Install pipenv (python3 -m pip install --user pipenv)
- Install dependencies (pipenv install --dev)
- Setup database (pipenv run python database.py)
- Run the server (pipenv run python main.py)
- Enter localhost:5000 in the browser
Sample User
Sample credentials present in existing database: Username - [email protected] Password - sample
Running with Docker
Build the Docker image
docker build -t shopping-cart .
Run the container
docker run -p 5000:5000 shopping-cart
Visit:
http://localhost:5000
Running with Docker Compose
docker compose up --build
Visit:
http://localhost:5000
Explore related projects
Loading…