Skip to content

julessre/nextjs-ecommerce-store

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Next.js ecommerce store

About this project 📝

The ecommerce shop is an UpLeveled project, where I have to design and create a full stack ecommerce website using next.js. Main features are:
  • workshop page: here a user can find a list of all upcoming workshops
  • single workshop page: when a product is clicked by the user it directs to this page, where description and detials can be found, the quantity can be edited and the item can be added to the cart
  • cart page: shows all workshops added to the cart including their quantity (which can be edited), price, a delete button to delete an item from the cart, the total price of all the products in the cart and a checkout button
  • checkout page: shows the total, an order summary and asks for shipping and payment information
  • thank you page: after confirming the order, the user gets directed to the thank you page

Technologies ⚛️

  • javascript
  • next.js
  • react
  • typescript
  • sass
  • postgres
  • jest
  • playwright

Screenshots 📷

Final Look

homepage

Prototype on Figma

homepage

Setup 💻

  1. Clone the repository
git clone https://github.com/julessre/nextjs-ecommerce-store.git
cd next-ecommerce-store
  1. Install dependencies using
pnpm install
  1. Setup postgres database

Create a file called .env in the project root directory and paste the following, changing to your own username, password and database:

PGHOST=localhost
PGUSERNAME=<your username>
PGPASSWORD=<your password>
PGDATABASE=<your database>
  1. Connect to postgres database and run either:
psql -U <user name> <database name> on windows and macOS
sudo -u <user name> psql -U <user name> <database name> on Linux
  1. Run application
pnpm dev

Open http://localhost:3000 on browser

About

Full-stack next.js E-Commerce Store, which offers different workshops

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published