Coder Social home page Coder Social logo

dj-shop's Introduction


Logo

Django E-Shop

E-Commerce Website Built With Python Django.

Request Feature

About The Project

Demo Screenshot

In this project i used the following technologies: Backend: Python Djnago (Only). Frontend: Javascript, TailwindCss.

I plan to work on another e-commerce project using deferent technologies for both Backend & Frontend (Hopefuly with a team).

Getting Started

In order for this website to work in your machine (localhost) follow these steps:

Prerequisites

  • python
  • tailwind (npm)

Installation

  1. Clone the repo
git clone https://github.com/black15/dj-shop.git
cd dj-shop/
  1. Setup a new python virtual env
python -m venv venv
source venv/bin/activate
  1. Install the required python libraries
pip install -r requirements.txt
  1. Install and create the config file for TailwindCss
npm install -D tailwindcss
npx tailwindcss init

python manage.py tailwind install
  1. Setup SQLite3
python manage.py migrate
  1. Important ! Create Stripe Account and Copy the Secret and Public Key to djshop/.env
STRIPE_SECRET_KEY='YOUR STRIPE SECRET KEY HERE'
STRIPE_PUBLISHABLE_KEY='YOUR STRIPE PUBLIC KEY HERE'
BASE_URL='http://localhost:8000/'
  1. Optional Create superuser
python manage.py createsuperuser

Usage

Launch 2 Terminals to run both django web server and tailwindcss.

Django

python manage.py runserver

Tailwind

python manage.py tailwind start

Authors

dj-shop's People

Contributors

black15 avatar

Stargazers

 avatar OlegEgoism avatar Crismari Radu-Florin avatar Murodullayev Sardor avatar Zouhir JAABARI avatar Ali Mehizel avatar  avatar  avatar  avatar devzo avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

ultimatenet101

dj-shop's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.