A Shopping Website project with a database. This is a ITU BLG317E – DATABASE SYSTEMS course project implemented by Fatih Said Duran, Musa Alperen Demir and Enes Fidan. Aim is to design an efficient database with a frontend website. It was developed by using Flask, HTML, CSS, Bootstrap, Javascript, and PostgreSQL.
Brief instructions on how to install/setup your project. Include necessary dependencies, prerequisites, and installation steps.
It's highly recommended to use a virtual environment for the project , if you don't want to use it you can skip the 3-4-5 steps
For example:
- Clone the repository:
git clone https://github.com/yourusername/yourproject.git
- Navigate to the project directory:
cd yourproject
- Install a virtual environment with name venv:
python -m venv venv --or python3 -m venv venv
- Activate the virtual environment:
source venv/bin/activate
, on linux machinesvenv/bin/activate
, on Windows machines - Set your python interpreter as in the venv file :
Ctrl+Shift+P
-> select python interpreter ->./venv/bin/python
- Install dependencies:
pip install -r requirements.txt
In order to work with databases you need an active postgres database and set paramaters: user name, database name, and a password accordingly please see set_initials
method in the database_manager
file
- Run the project:
python server.py
- Open your web browser and go to
http://localhost:5000
to view the application.
--
This project is licensed under the MIT License.