{"id":25442272,"url":"https://github.com/arvind-4/e-commerce","last_synced_at":"2025-11-01T14:30:26.120Z","repository":{"id":64953560,"uuid":"449696626","full_name":"Arvind-4/E-Commerce","owner":"Arvind-4","description":"A Simple E-commerce build on Django 4, Solid js, and Tailwind! ","archived":false,"fork":false,"pushed_at":"2023-01-03T06:17:40.000Z","size":520,"stargazers_count":17,"open_issues_count":0,"forks_count":9,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-05-31T15:24:07.447Z","etag":null,"topics":["django","django-algolia","django-application","django-applications","django-cockroachdb","django-ecommerce","django-rest-framework","django-solidjs","django-tailwind","django-templates","solidjs","tailwindcss","tailwindcss-v3","typescript","vite-solidjs","vitejs"],"latest_commit_sha":null,"homepage":"https://awesome-e-commerce.vercel.app","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Arvind-4.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-01-19T13:10:44.000Z","updated_at":"2024-05-30T03:43:05.000Z","dependencies_parsed_at":"2023-02-01T05:16:08.357Z","dependency_job_id":null,"html_url":"https://github.com/Arvind-4/E-Commerce","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arvind-4%2FE-Commerce","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arvind-4%2FE-Commerce/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arvind-4%2FE-Commerce/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arvind-4%2FE-Commerce/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Arvind-4","download_url":"https://codeload.github.com/Arvind-4/E-Commerce/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239293921,"owners_count":19615043,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["django","django-algolia","django-application","django-applications","django-cockroachdb","django-ecommerce","django-rest-framework","django-solidjs","django-tailwind","django-templates","solidjs","tailwindcss","tailwindcss-v3","typescript","vite-solidjs","vitejs"],"created_at":"2025-02-17T13:17:52.557Z","updated_at":"2025-11-01T14:30:26.063Z","avatar_url":"https://github.com/Arvind-4.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# E-commerce\r\n\r\nA Simple E-commerce build on Django 4, Solid js, and TailWind! .\r\n\r\n## Stack\r\n\r\n- [Solid Js](https://www.solidjs.com/) - A Reactive JavaScript Library.\r\n- [Django](https://www.djangoproject.com/) - Django makes it easier to build better web apps more quickly and with less code.\r\n- [Vite](https://vitejs.dev/) - Next Generation Frontend Tooling.\r\n- [Typescript](https://www.typescriptlang.org/) - JavaScript with syntax for types.\r\n- [Tailwind 3](https://tailwindcss.com/) - Rapidly build modern websites without ever leaving your HTML.\r\n- [CockroachDB](https://www.cockroachlabs.com/) - A distributed SQL database designed for speed, scale, and survival.\r\n\r\n\r\n## Project structure\r\n\r\n```\r\n$PROJECT_ROOT\r\n│  \r\n├── apps/web  # Django Backend\r\n│  \r\n├── apps/www  # Solid js App\r\n│   \r\n├── apps/templates # Django Templates\r\n│   \r\n├── apps/web/apps/ accounts, carts, category, products, pages # Django Apps\r\n│   \r\n├── requirements # Python Requirements\r\n│\r\n├── testing # Jupyter Notebook for Testing\r\n│\r\n├── data/products.json # Sample Data\r\n│\r\n├── app.py # Entry Point for Django Backend\r\n│\r\n├── vercel.json # Vercel Config file\r\n│\r\n├── manage.py # Run Django Commands\r\n│\r\n├── package.json # npm commands.\r\n```\r\n---\r\n\r\n### Get the Code\r\n\r\n- Clone Repo\r\n\r\n```\r\nmkdir django_ecommerce\r\ncd django_ecommerce\r\ngit clone https://github.com/Arvind-4/E-Commerce-.git .\r\n```\r\n- Create Virtual Environment for Python\r\n\r\n```sh\r\npip install virtualenv\r\npython -m venv .\r\n```\r\n\r\n- Activate Virtual Environment\r\n\r\n```sh\r\nsource Scripts/activate\r\n```\r\n**Window Users use: `.\\Scripts\\activate`**\r\n\r\n- Install Dependencies\r\n\r\n```sh\r\npip install -r requirements.txt\r\n```\r\n\r\n- Make Migrations\r\n\r\n```sh\r\npython manage.py makemigrations\r\npython manage.py migrate\r\n```\r\n\r\n####  For Frontend\r\n\r\n- Install Dependencies\r\n\r\n```\r\nnpm run i\r\n```\r\n\r\n- Run Dev Server\r\n\r\n```\r\nnpm run dev\r\n```\r\n\r\n- Now for Bundling Your Frontend + Django static\r\n\r\n```\r\nnpm run production\r\n```\r\n\r\n**Run Both Django and Vite Server for Hot Reload in Your Project Root**\r\n\r\nOpen [localhost:8000](http://localhost:8000/) in Your Browser.\r\n\r\n\u003cbr/\u003e\r\n\r\n\u003e **_NOTE:_**     Add Products by Navigating  Admin Page. \u003cbr/\u003e\r\n\u003e Admin url =\u003e [admin/](http://localhost:8000/admin/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farvind-4%2Fe-commerce","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farvind-4%2Fe-commerce","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farvind-4%2Fe-commerce/lists"}