{"repo":"kkosiba/ecommerce-backend","free":true,"listed":false,"github":"https://github.com/kkosiba/ecommerce-backend","clone":"git clone https://github.com/kkosiba/ecommerce-backend.git","description":"Django backend for eCommerce project","language":"Python","stars":240,"topics":["django","ecommerce","ecommerce-website","backend","ecommerce-django","python"],"license":null,"category":"ecommerce","readme_excerpt":"ecommerce-backend Django backend for eCommerce project This project is built using Django REST Framework to provide the backend API for the eCommerce project. The frontend is available here. Features 1. Products API endpoint available at /api/products/ . 2. Custom user authentication using JSON Web Tokens. The API is available at /api/accounts/ . 2. Simple newsletter functionality: superuser can view the list of all subscribers in Django admin panel; any visitor can subscribe. The relevant API endpoint is available at /api/newsletter/ . 3. Stripe payments API endpoint available at /api/payments/ . Dependencies 1. python =3.13, =5.1,<5.2 3. PostgreSQL 16+ This project also uses other packages (see requirements/base.txt file for details). For instance, tag support is provided by django-taggit and image processing is thanks to Pillow. Getting started The easiest way to get backend up and running is via Docker. See docs to get started. Once set up run the following command: make run This command takes care of populating products list with the sample data. It may take a while for the process to complete, as Docker needs to pull required dependencies. Once it is done, the application should be available at http://localhost:8000 . In order to use Stripe payments one needs to create an account and obtain a pair of keys (available in the dashboard after signing in). These keys need to be set in a .env file, see the Deployment section below for the example contents of such file. Tests ","default_branch":null,"files":null,"tree":[],"storefront":"/r/kkosiba","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/kkosiba/ecommerce-backend/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}