Coder Social home page Coder Social logo

root_shop's Introduction

R00T SHOP

I've designed a versatile ecommerce framework. It comes equipped with an intuitive user interface and a powerful set of features, ensuring a seamless shopping experience for customers. This framework represents a significant step in enhancing my own skills while providing a valuable resource for others to build their successful online businesses.

R00TK3Y

Django Vue.js HTML Django Rest Framework Stylus Grafana Loki

Table of Contents

Features

  1. Custom Cart Integration 🛒 Experience seamless and personalized shopping with our custom-built cart feature. Add, modify, and track your selected products effortlessly. Whether you're shopping for one item or a whole wishlist, our cart has got you covered!

  2. ViewSets for Enhanced Functionality 🚀 I've harnessed the power of Django Rest Framework's ViewSets to provide you with dynamic and efficient API endpoints. Our ViewSets offer a streamlined way to interact with the backend, ensuring smooth data retrieval and updates.

  3. User-Friendly API 🤝 Embrace the simplicity and ease of use with our API. I've crafted it to be intuitive and developer-friendly, making it a breeze for you to integrate, consume, and extend the functionalities of our E-commerce website.

Getting Started

To set up the project locally for development, follow these steps:

  1. Clone the Repository:

     git clone https://github.com/r00tk3y/root_shop.git
    
  2. Navigate to the Project Directory:

    cd root_shop
    

Installation

  1. Create a virtual environment && Activate it:

    python -m venv venv 
    source venv/bin/activate
    
  2. Install Dependencies

    cd webshop
    pip install -r requirements.txt
    
  3. Frontend

    Enter the django_frontend directory and find a detailed README.md about
    installation of the frontend
    
  4. Migrate Database

    python manage.py makemigrations
    python manage.py migrate
    
  5. Create a superuser

    python mange.py createsuperuser
    
  6. Set up env variables

    1. Remove the .template in webshop/.env.template
    2. Set desired environment variables
    
  7. python manage.py shell
    
    from django.core.management.utils import get_random_secret_key
    print(get_random_secret_key())
    
    >>>gw^9ej(l4vq%d_06xig$vw+b(-@#00@8l7jlv77=sq5r_sf3nu
    Random key generator, obviosly do not use the one above.
    

Usage

  1. Running server
    python manage.py runserver
    
  2. Fixtures
    python manage.py loaddata fixtures/data.json
    superuser -> admin:admin
    
  3. Docker
     Apply migrations before running
     docker-compose up -d
    

Notes

  1. Install dark reader so that the white theme does not hurt your eyes :D

root_shop's People

Contributors

iudicium avatar

Stargazers

SohaibYaser avatar Clayton Kehoe avatar Jonathan Marshall avatar Camille Louédoc-Eyriès avatar

Watchers

 avatar  avatar

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.