Skip to content

Minimalistic and clear online shop. The website is 100% responsive on all devices.

Notifications You must be signed in to change notification settings

kacperkrasnal/teashop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TeaShop

An online store created in a minimalistic and clear style. The idea was to create a website for a tea producer with its own blends.

Build with


Getting Started

Here you can find instruction step by step how to run TeaShop project locally.

The software you need

Install python 3.9 or newer from Python.org

Install nodejs from nodejs.org

If u don't have code editor install PyCharm or Visual Studio Code

Installation

Clone repository to your folder

git clone https://github.com/kacperkrasnal/teashop.git

Backend

1. Install virtualenv in terminal

pip install virtualenv

2. Create virtual environment in terminal

Inside teashop folder which include folders like 'backend' and 'frontend'
virtualenv venv

3. Activate venv

Windows

.\venv\Scripts\activate

Unix or MacOS using the bash shell

source /venv/Scripts/bin/activate

4. Install required packages using command

pip install -r requirements.txt

5. Prepare .env:

Inside 'backend' folder prepare .env-example by removing from file name '-example'
File should have name '.env' and contain
SECRET_KEY = example_name
DEBUG = True

6. Migrate

Inside 'backend' folder put in terminal
python manage.py migrate

7. Create two separate terminals 'frontend' and 'backend'

Go into backend terminal and navigate inside folder named 'backend'

8. Run backend server

python manage.py runserver 

Frontend

1. Go into frontend terminal and navigate inside folder named 'frontend'

2. Install npm packages with following command

npm install

3. Run frontend server

npm run serve

Everything done just open localhost page

Usage

Simplicity, TeaShop from the company side has the function of adding products and categories to your store. Preview of orders and shipping data. From the customer's point of view, product selection, adding reviews, and previewing the order card.

About

Minimalistic and clear online shop. The website is 100% responsive on all devices.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages