Giter Site home page Giter Site logo

smmk123 / sample-store-njs Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 848 KB

This is an E-commerce demo frontend for a Node.js Express backend. It is built using Next.js 13 and utilizes Material UI for the components. Please note that the backend is hosted on Heroku's Eco tier service, so it may take some time to load the products.

Home Page: https://sample-store-nu.vercel.app

License: MIT License

JavaScript 71.01% CSS 1.52% TypeScript 27.46%
storefront

sample-store-njs's Introduction

Next.js 13 E-commerce Project

This is a sample Next.js project for building an e-commerce website. It includes features such as displaying products, adding them to a shopping cart, and checking out.

Demo

A live demo of the project can be accessed here.

Backend

The products are loaded from a Node.js Express backend. You can find the backend code in the node-express-backend repository.

Technologies Used

  • Next.js
  • React
  • Node.js
  • Express
  • Tailwind CSS

Features

  • Displaying products with details such as name, price, and description.
  • Adding products to a shopping cart.
  • Updating the quantity of items in the cart.
  • Calculating the subtotal and total price of items in the cart.
  • Checking out and completing the purchase.

Getting Started

Prerequisites

  • Node.js (version X.X.X)
  • npm (version X.X.X)

Installation

  1. Clone the repository:

    git clone https://github.com/smmk123/sample-store-njs
  2. Change into the project directory:

    cd nextjs-ecommerce-project
  3. Install the dependencies:

    npm install
  4. Start the development server:

    npm run dev
  5. Open your browser and visit http://localhost:3000 to see the app.

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvement, please open an issue or submit a pull request.

License

This project is licensed under the MIT License.


Feel free to modify and customize the README.md file according to your specific project details and preferences.
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).

sample-store-njs's People

Contributors

smmk123 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.