Git Product home page Git Product logo

e-commerce-example's Introduction

Next.js e-commerce example

Table of Contents

Introduction

This is a guide about how to create a simple e-commerce using Next.js, AWS S3, MySQL, NextAuth.js, MySQL, email verification, React and Stripe gateway. This guide is 100% educational, for example auxiliary functions are in the same file where are used for better understanding (in real projects you put all your axuliary functions in the same folder/file) or use another approach to validate API calls. This e-commerce is supposed to be a simple Business-to-Consumer (B2C). Once completed, I will share a MySQL dump and provide guidance on the structure of the 'credentials.ts' file.

Current state: finished

Usage

npm run dev
# or
yarn dev
# or
pnpm dev

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

Features

  • Limit API calls per minute
  • Validate headers from API calls
  • Hash passwords and secure user input
  • Implement login
  • Implement header
  • Create account
  • Verificate email
  • Recover account
  • Handle custom authorization via nextauth
  • Create comments on products
  • Send images to AWS S3 Bucket
  • Create product publication
  • Handle user sessions
  • Use stripe gateway
  • Cute logo
  • Manage stock at Checkout
  • Implement product visualization
  • Proper transaction
  • Webhook handling for stripe session completion
  • Implement session handling for the shopping cart
  • Create checkout completion page
  • Create account validation page
  • Search products
  • Implement admin privileges

Contact

Ask me anything ๐Ÿ˜ƒ

Juan Matias Rossi

e-commerce-example's People

Contributors

schneidersix avatar

Watchers

 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.