Repo https://github.com/vp5h/NextEcom

Project https://github.com/vp5h/NextEcom

This is a next JS Based E commerce Website Which Currently lists few Js libraries and Packages has some Price Defined to it

It has the Following Feature

→ Products

→ Payment Gateway (Currently Only PayPal)

→ Product Sorting Features

→ Login, Sign Up via JWT token

→ Product Status

→ User Role Assignment

Before Getting into Detail about this Project, Let's understand how Next JS is Structured

What next offers is abstraction and Built it in tools which gives it an edge over the Conventional React. There are far too many features in next. For the scope of this Document listing the features that are used here.

  1. Server Side Rendering → Basically serving HTML with the content, instead of calling APIs form the user end.
  2. Dynamic Routing → Comes in really handy for making routes on the fly for new items being added, Similar concept is used React Router as well.

There's one more thing to cover Before we begin, Which is the next JS Structure, Pages is the folder form where the files are served, Inside Pages, We have a _document.js File, Which is the first File that gets executed followed by _app.js, Then comes the Execution of index.js File