A Simple E-commerce build on Django 4, Solid js, and TailWind! .
$PROJECT_ROOT
│
├── apps/web # Django Backend
│
├── apps/www # Solid js App
│
├── apps/templates # Django Templates
│
├── apps/web/apps/ accounts, carts, category, products, pages # Django Apps
│
├── requirements # Python Requirements
│
├── testing # Jupyter Notebook for Testing
│
├── data/products.json # Sample Data
│
├── app.py # Entry Point for Django Backend
│
├── vercel.json # Vercel Config file
│
├── manage.py # Run Django Commands
│
├── package.json # npm commands.
mkdir django_ecommerce
cd django_ecommerce
git clone https://github.com/Arvind-4/E-Commerce-.git .
pip install virtualenv
python -m venv .
source Scripts/activate
Window Users use: .\Scripts\activate
pip install -r requirements.txt
python manage.py makemigrations
python manage.py migrate
npm run i
npm run dev
npm run production
Run Both Django and Vite Server for Hot Reload in Your Project Root
Open localhost:8000 in Your Browser.
NOTE: Add Products by Navigating Admin Page.
Admin url => admin/