Giter VIP home page Giter VIP logo

reactjs-mongodb-redis-example's Introduction

Buy Me A Coffee
wakatime

Projects

Project Name Technologies Used Links
NextJS w/App Router Starter - NextJS w/App Router
- NextAuth
- TypeScript
- Prettier
- Eslint
- Husky
- SwaggerUI
- Supabase
- Prisma ORM
- TailwindCSS
- Vercel
📦 Repo
🌐 Website
Advertisement App - NextJS w/App Router
- CSS Modules & SASS
- TypeScript
- Prisma
- Docker
- PostgreSQL
- Cloudinary
- React Hook Forms
- Yup
- Supabase
- Context API
- Tanstack Query (see: 🎋branch)
- Local Storage
- Vercel
📦 Repo
🌐 Website
Karsal - NextJS
- TypeScript
- MongoDB
- i18n localization router
- SASS Modules
- React Responsive
- Vercel
📦 Repo
🌐 Website
Source Pocket - Docusaurus v2
- ReactJS
- Algolia
- MDX
- Netlify
📦 Repo
🌐 Website
connEth - NextJS
- TypeScript
- TailwindCSS
- Moralis
- Prisma
- MetaMask
- Husky
- Lint Staged
- HeadlessUI
- Vercel
📦 Repo
Damla Köksal
Personal Website
- GatsbyJS
- MDX
- Vercel
📦 Repo
🌐 Website
Clou Shopify 🌐 Website

reactjs-mongodb-redis-example's People

Contributors

damla avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

reactjs-mongodb-redis-example's Issues

Tasarımı componentlere parçalama

Açıklama

  • Figma üzerinden verilen tasarımı componentlere böl.

Component Mockup

image

Yapılacaklar

  • Home
    • Layout
      • Header
        • Search
        • Basket
          • BasketDetail
            • BasketItem
              • ImageBox (aynı component product görselleri için de kullanılacak)
      • SubHeader
        • PageTitle
        • SelectBox
      • Sidebar
        • LinkList
          • Link
      • Section
        • ProductTable
          • ProductRow
            • ProductItem
              • ImageBox (aynı component product görselleri için de kullanılacak)
              • ProductDescription
          • Pagination
      • Modal
  • Error
  • Spinner

MongoDB

Açıklama

image

  • Cloud MongoDB üzerinde planlanan veriyi sakla. Veriyi buradan çekerek uygulamayı seedleyeceğiz. Sonrası Redis'in cachelemesi ile ilerleyecek. (search in-memory çok daha hızlı)

Yapılacaklar

  • Veriyi yapılandırma
  • Mongoose ORM ile MongoDB implementasyonu
  • MVC Backend kur
    • Products
    • Colors
    • Brands
  • Seed data
  • Test

Sıralama

  • Sıralama filtresi ise mevcut listelenen ürünler üzerinde uygulanmalıdır. Tasarımda, sol tarafta ve yukarıda olmak üzere 2 tane sıralama componenti bulunmaktadır. Herhangi birinden seçim yapıldığında, diğerinin active state’i güncellenmelidir. (Örneğin sol taraftan bir sıralama filtresi seçildiğinde, yukarıda bulunan select box görünümündeki component’in active state’i değişmelidir)
    ○ En Düşük Fiyat
    ○ En Yüksek Fiyat
    ○ En Yeniler (A>Z)
    ○ En Yeniler (Z>A)

Client

Teknoloji Gereksinimleri

  • ReactJS
  • ContextAPI
  • SASS
  • ClassNames
  • ReactRouter

Talep Edilenler Gereksinimler

Server

Teknoloji Gereksinimleri

Talep Edilenler Gereksinimler

Test Yapılması

Yapılacaklar

  • Server tarafı için unit test yazılacak.

  • Controllers

    • Products
    • Brands
    • Colors

Redis

Açıklama

  • Redis heroku üzerinden deploylanıp uygulamanın backendine bağlanması gerekiyor.
  • Pagination olması için default olarak 36 ürün girilmeli.

Yapılacaklar

  • Heroku'da Redis instance yarat.
  • Backende bağla.
  • Client'a bağla.
  • #9

Filtreleme

  • Renk ve marka filtrelerinin içerikleri, oluşturduğunuz ürün verisinden beslenmeli ve içerisinde bulunan tüm renk ve markalar burada listelenmelidir. Aynı zamanda kaç adet olduğunu yazmalıdır.
  • Kullanıcı bir marka veya renk filtrelediğinde listeleme kısmında ilgili ürünlergösterilmelidir ve filtreler getirilen ürünlere göre tekrar hesaplanmalıdır. Eğer daha önce bir sırlama yapılmışsa, bu tercih korunmalıdır. Seçilmiş bir filtre üzerine tıklandığında o filtrenin kaldırılması gerekmektedir.

Sepet

  • Sepet üzerine üründeki sepet sayısı gösterilmelidir. sepete ürün eklendiğinde veya silindiğinde, bu sayı güncellenmelidir.

  • Aynı ürün birden fazla sepete eklenmemelidir. Eğer bir ürün daha önce sepete eklenmişse, o ürünün sepete ekle butonu pasif hale gelmelidir.

  • Sepet componenti üzerine gelindiğinde sepete eklenen ürünler gösterilmelidir ve sepete eklenme tarihine göre sıralanmalıdır. Ürün sepetten silindiğine bir uyarı ve onay mesajı çıkmalıdır ve kullanıcı onayladıktan sonra ürün sepetten silinmelidir.

Arama

Yapılacaklar

  • Arama kutusuna iki karakter girildikten sonra arama yapılmaya başlanmalıdır. Arama cümlesinin iki karakterden az olduğu durumlarda arama gerçekleşmemelidir.

ProductContext'inde products stateinde filtered arrayi olarak saklandi.

  • Arama ürün ismine göre yapılmalıdır ve listeleme ekranında ilgili arama terimini içeren ürünler göstermelidir.

Backlog

Sistem Tasarımı

image

Client

Teknoloji Gereksinimleri

  • ReactJS
  • ContextAPI
  • SASS
  • ClassNames
  • ReactRouter

Talep Edilenler Gereksinimler

Server

Teknoloji Gereksinimleri

Talep Edilenler Gereksinimler

Test Yapılması

Zaman ve bilgi yetersizliğinden dolayı test yetişmemiştir.

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.