GithubHelp home page GithubHelp logo

eduardojm / thenerdshop Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 1.41 MB

A (wip) e-commerce writen in python using django and django-admin.

Python 26.87% CSS 16.93% HTML 41.53% JavaScript 14.42% Shell 0.12% Dockerfile 0.13%

thenerdshop's Introduction

Hi, i'm graduated in math, full stack developer and nerd.

  • ๐Ÿ“‹ Sometimes i write dev articles, usually in brazillian portuguese, at dev.to/eduardojm.
  • ๐Ÿ“ซ You can reach me at:

thenerdshop's People

Contributors

eduardojm avatar

Watchers

 avatar

thenerdshop's Issues

Implements Full Text Search feature for the products

Tasks

  • create, in the navbar template, an search bar form with action to an new route to process search.
  • create an custom ProductManager to add an search method inside Product.objects to made fast changes to the search method.
  • create an search method inside ProductManager searching with ILIKE/ICONTAINS for initial development.
  • create the search products route using the Product.objects.search method and paginations.
  • update the search method do use full text search (https://docs.djangoproject.com/en/4.1/ref/contrib/postgres/search/).

Test Cases

Search Route

  • should show all products if no term is parsed.
  • should filter products if the term of title of the product is parsed.
  • should filter products if an term of the description of the product is parsed.
  • should not show pagination if less than 20 products is in the page
  • should show the pagination if more than 20 products is in the page.
  • should navigate into the paginations and all products are listed into the pages.
  • should navigate to the search route if type into the search box and submit the form (NavBar).

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.