Skip to content

A functional eCommerce website that created with Next.js including payment integration with Stripe.

License

Notifications You must be signed in to change notification settings

PattyCoding123/ecommerce

Repository files navigation

MIT License LinkedIn


Logo

Ecommerce

"Ecommerce" is a project in which I created a simple yet stunning eCommerce website that handles cart/item management and full payment functionality.
Check out the docs »

View Website · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Roadmap
  3. Getting Started
  4. Contributing
  5. License
  6. Contact

About The Project

Look at the live demo!

The project is a fully responsive ecommerce website that handles full payment functionalities. The entire front-end code was done using React.js, and I configured Sanity in JavaScript to assist with the back-end data management. The Next.js framework was implemented to optimize the website futher with useful features as easy page routing, API handling, and data fetching for pre-rendering the pages. The project is integrated with Stripe so users can simulate a real purchase. (Real transactions are not enabled as this is just a personal project to make an ecommerce website).

(back to top)

Built With

(back to top)

Getting Started

First, run npm install to acquire dependencies

npm install
# or
yarn add

Second, run the development server:

npm run dev
# or
yarn dev

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

You can start editing the page by modifying pages/index.js. The page auto-updates as you edit the file.

API routes can be accessed on http://localhost:3000/api/hello. This endpoint can be edited in pages/api/hello.js.

The pages/api directory is mapped to /api/*. Files in this directory are treated as API routes instead of React pages.

(back to top)

Roadmap

  • Interactive product cards
  • Custom slugs for each product
  • The ability to add and remove items from the cart
  • Pre-rendering with Next.js (both server-side and static generation)
  • Back-end content management for products
  • Payment functionality

See the open issues for a full list of proposed features (and known issues).

(back to top)

Contributing

If you have a suggestion that would make this project better or more optimal, please fork the repo and create a pull request. Alternatively, you can open an issue with the tag "enhancement" as well.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/NewFeature)
  3. Commit your Changes (git commit -m 'Add some NewFeature')
  4. Push to the Branch (git push origin feature/NewFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the MIT License. See LICENSE.md for more information.

(back to top)

Contact

Patrick Ducusin - patrickducusin2@gmail.com

Project Link: https://github.com/PattyCoding123/ecommerce

(back to top)

About

A functional eCommerce website that created with Next.js including payment integration with Stripe.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published