Coder Social home page Coder Social logo

rafaelgoulartb / next-ecommerce Goto Github PK

View Code? Open in Web Editor NEW
445.0 15.0 134.0 3.25 MB

:zap: Quantum Ecommerce. Made with Next.js | GraphQL | Apollo Server | Apollo Client | SSR

Home Page: https://quantum-ecommerce.now.sh/

License: MIT License

JavaScript 98.85% CSS 1.15%
nextjs nodejs e-commerce graphql ecommerce apollo vercel next-js commerce

next-ecommerce's Introduction

Ecommerce made with Next.js

Rafael Goulart Documentation Maintenance License: MIT GitHub Pull Requests GitHub Contributors

This project was made to show a full ecommerce plataform made with Next.js and Nextjs Serverless functions to build the backend, using Apollo Server and Apollo Client to GraphQL.

English · Portuguese

The ecommerce project. Built with ❤︎ by Rafael Goulart and contributors


📌 Table of Contents

📥 Layout available at:

Direct Download

👀 Demo Website

The demo website can be missing some features, clone and run the project to a full experience.
👉 demo: https://quantum-ecommerce.now.sh/

💻 Technologies

This project was made using the follow technologies:

🚀 Features

  • Authentication with Cookies Sessions.
  • Reset Password using email
  • List Products
  • Filter products by Category
  • Sort list of products
  • Live search
  • Add products to Wishlist
  • Add products to Cart
  • Checkout page
  • Payment with Paypal
  • Review Products

👷 How to run

You need to install Node.js and Yarn first, then:

Rename env file

Rename .env.local-exemple to .env.local

Install Dependencies

yarn install

Set up database

# Create DB using migrations
yarn knex:migrate

# Run seeds to populate database
yarn knex:seed 

Run Aplication

yarn dev 

Open http://localhost:3000 with your browser to see the result.

Open http://localhost:3000/api/graphql with your browser to run queries or to see docs of API.

🐛 Issues

Feel free to file a new issue with a respective title and description on the the Next.Js Ecommerce repository. If you already found a solution to your problem, i would love to review your pull request!


⬆ Back to Top

🎉 Contributing

First of all, thank you for being interested in helping out, your time is always appreciated in every way. 💯

Here's some tips:

  • Check the issues page for already opened issues (or maybe even closed ones) that might already address your question/bug/feature request.
  • Feature requests are welcomed! Provide some details on why it would be helpful for you and others, explain how you're using bull-board and if possible even some screenshots if you are willing to mock something!

Check out the contributing page to see the best places to file issues, start discussions and begin contributing.

📕 License

Released in 2020. This project is under the MIT license.

Made with love by RafaelGoulartB 🚀

next-ecommerce's People

Contributors

dependabot[bot] avatar rafaelgoulartb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

next-ecommerce's Issues

feat: sort products

  • include schema to sort
  • include sort to resolvers
  • sort products(frontend)
  • change sort in header bar of products

Page to upload more products

  • API function to create new products with authentication needed.
  • Page to create new products at pages/product/createProduct, with basic form.

Não consigo utilizar

Virei à noite tentando usar seu projeto, mas não consegui.
Não consegui conectar no banco de dados, não consegui fazer funcionar para produção.
É uma pena, pois parece muito bom

feat: list products

  • product grid(frontend)
  • product item component(frontend)
  • integrate products with api

[Bug] Price filters do not operate correctly

Describe the bug
The low price and high price filters do not sort the products accordingly.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the home page ( https://quantum-ecommerce.now.sh/ )
  2. Click on either price filter
  3. See error

Expected behavior
Products will be sorted from high price to low price or vice versa.

Screenshots
image

Desktop

  • OS: Windows 11
  • Browser: Firefox
  • Version: 108.0.2

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath

Got this error message locally.

error - unhandledRejection: Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './public/extractFiles' is not defined by "exports"

image

and got
"This product is not found!" in the Product detail page.

Problems bringing Next-Ecommerce up.

Hello,

I am trying to start up your Quantum Next Ecommerce software but all I get is a blank page..

Can you please let me know what version of NPM and node you are using?

My test system is a Ubuntu 20.04 system (AMD 64-bit)

Thanks in advance.

There is no login feature as describe in the readme

Describe the bug
When i log i get redirect to the homepage but i have no cookies set that say that i am logged,
i looked in the code and the signup function just check if there is a user and the redirect to the homepage

db: add migration to products

  • product
    The migration to product must have to following columns:
  • id
  • name
  • description
  • img_url
  • price
  • rating
  • user_id
  • created_at
  • updated_at

category

The migration to category must have to following columns:

  • id
  • name

product_category

The migration to relationship between product and category must have to following columns:

  • id
  • product_id
  • category_id

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.