/amazona-ecommerce

Amazona is an e-commerce website built using Next.js, a popular React framework for server-side rendering. It allows users to browse through different products, add items to their cart, and securely checkout with payment integration. The site is designed with a clean and modern UI, making it easy to navigate and use for online shopping.

Primary LanguageJavaScriptMIT LicenseMIT

live


amazona-ecommerce

โ—ฆ Developed with the software and tools below.

SVG Chart.js JavaScript PostCSS Autoprefixer React Axios ESLint Markdown JSON

GitHub license git-last-commit GitHub commit activity GitHub top language

x

๐Ÿ“– Table of Contents


๐Ÿ“ Overview

HTTPStatus Exception: 429


๐Ÿ“ฆ Features

HTTPStatus Exception: 429


๐Ÿ“‚ Repository Structure

โ””โ”€โ”€ amazona-ecommerce/
    โ”œโ”€โ”€ .eslintrc.json
    โ”œโ”€โ”€ .gitignore
    โ”œโ”€โ”€ LICENSE
    โ”œโ”€โ”€ README.md
    โ”œโ”€โ”€ components/
    โ”‚   โ”œโ”€โ”€ CheckoutWizard.js
    โ”‚   โ”œโ”€โ”€ DropdownLink.js
    โ”‚   โ”œโ”€โ”€ Layout.js
    โ”‚   โ””โ”€โ”€ ProductItem.js
    โ”œโ”€โ”€ models/
    โ”‚   โ”œโ”€โ”€ Order.js
    โ”‚   โ”œโ”€โ”€ Product.js
    โ”‚   โ””โ”€โ”€ User.js
    โ”œโ”€โ”€ next.config.js
    โ”œโ”€โ”€ package-lock.json
    โ”œโ”€โ”€ package.json
    โ”œโ”€โ”€ pages/
    โ”‚   โ”œโ”€โ”€ _app.js
    โ”‚   โ”œโ”€โ”€ admin/
    โ”‚   โ”œโ”€โ”€ api/
    โ”‚   โ”œโ”€โ”€ cart.js
    โ”‚   โ”œโ”€โ”€ index.js
    โ”‚   โ”œโ”€โ”€ login.js
    โ”‚   โ”œโ”€โ”€ order/
    โ”‚   โ”œโ”€โ”€ order-history.js
    โ”‚   โ”œโ”€โ”€ payment.js
    โ”‚   โ”œโ”€โ”€ placeorder.js
    โ”‚   โ”œโ”€โ”€ product/
    โ”‚   โ”œโ”€โ”€ profile.js
    โ”‚   โ”œโ”€โ”€ register.js
    โ”‚   โ”œโ”€โ”€ search.js
    โ”‚   โ”œโ”€โ”€ shipping.js
    โ”‚   โ””โ”€โ”€ unauthorized.js
    โ”œโ”€โ”€ postcss.config.js
    โ”œโ”€โ”€ public/
    โ”‚   โ”œโ”€โ”€ app.jpg
    โ”‚   โ”œโ”€โ”€ favicon.ico
    โ”‚   โ”œโ”€โ”€ images/
    โ”‚   โ””โ”€โ”€ vercel.svg
    โ”œโ”€โ”€ styles/
    โ”‚   โ””โ”€โ”€ globals.css
    โ”œโ”€โ”€ tailwind.config.js
    โ””โ”€โ”€ utils/
        โ”œโ”€โ”€ Store.js
        โ”œโ”€โ”€ data.js
        โ”œโ”€โ”€ db.js
        โ””โ”€โ”€ error.js

โš™๏ธ Modules

Root
File Summary
tailwind.config.js HTTPStatus Exception: 429
next.config.js This code is the Next.js configuration file (next.config.js). It enables strict mode for React and configures the domains for image rendering, specifically allowing images from'res.cloudinary.com'.
postcss.config.js This code enables the use of Tailwind CSS and Autoprefixer in a PostCSS environment.
Utils
File Summary
Store.js HTTPStatus Exception: 429
data.js The code in utils/data.js exports an object called "data" that contains two arrays: "users" and "products". The "users" array stores user data such as name, email, hashed password, and isAdmin status. The "products" array stores product data including name, category, image, price, brand, rating, numReviews, countInStock, description, isFeatured status, and banner image. This code provides a pre-defined set of data that can be used in the application.
db.js HTTPStatus Exception: 429
error.js HTTPStatus Exception: 429
Styles
File Summary
globals.css HTTPStatus Exception: 429
Components
File Summary
Layout.js HTTPStatus Exception: 429
DropdownLink.js HTTPStatus Exception: 429
ProductItem.js HTTPStatus Exception: 429
CheckoutWizard.js HTTPStatus Exception: 429
Pages
File Summary
unauthorized.js HTTPStatus Exception: 429
index.js HTTPStatus Exception: 429
login.js HTTPStatus Exception: 429
placeorder.js HTTPStatus Exception: 429
cart.js HTTPStatus Exception: 429
payment.js HTTPStatus Exception: 429
shipping.js HTTPStatus Exception: 429
search.js HTTPStatus Exception: 429
register.js HTTPStatus Exception: 429
profile.js HTTPStatus Exception: 429
order-history.js HTTPStatus Exception: 429
_app.js HTTPStatus Exception: 429
Product
File Summary
[slug].js HTTPStatus Exception: 429
[id].js HTTPStatus Exception: 429
Admin
File Summary
orders.js HTTPStatus Exception: 429
dashboard.js HTTPStatus Exception: 429
users.js HTTPStatus Exception: 429
products.js HTTPStatus Exception: 429
summary.js HTTPStatus Exception: 429
cloudinary-sign.js HTTPStatus Exception: 429
Order
File Summary
[id].js HTTPStatus Exception: 429
Api
File Summary
hello.js HTTPStatus Exception: 429
seed.js HTTPStatus Exception: 429
Keys
File Summary
paypal.js HTTPStatus Exception: 429
Products
File Summary
[id].js HTTPStatus Exception: 429
index.js HTTPStatus Exception: 429
[id]
File Summary
index.js HTTPStatus Exception: 429
deliver.js HTTPStatus Exception: 429
index.js HTTPStatus Exception: 429
pay.js HTTPStatus Exception: 429
Orders
File Summary
index.js HTTPStatus Exception: 429
history.js HTTPStatus Exception: 429
index.js HTTPStatus Exception: 429
Users
File Summary
index.js HTTPStatus Exception: 429
[id].js HTTPStatus Exception: 429
Auth
File Summary
signup.js HTTPStatus Exception: 429
update.js HTTPStatus Exception: 429
[...nextauth].js HTTPStatus Exception: 429
Models
File Summary
Order.js HTTPStatus Exception: 429
User.js HTTPStatus Exception: 429
Product.js HTTPStatus Exception: 429

๐Ÿš€ Getting Started

Dependencies

Please ensure you have the following dependencies installed on your system:

- โ„น๏ธ Dependency 1

- โ„น๏ธ Dependency 2

- โ„น๏ธ ...

๐Ÿ”ง Installation

  1. Clone the amazona-ecommerce repository:
git clone https://github.com/usUpal/amazona-ecommerce
  1. Change to the project directory:
cd amazona-ecommerce
  1. Install the dependencies:
npm install

๐Ÿค– Running amazona-ecommerce

node app.js

๐Ÿงช Tests

npm test

๐Ÿ›ฃ Roadmap

  • โ„น๏ธ Task 1: Implement X
  • โ„น๏ธ Task 2: Implement Y
  • โ„น๏ธ ...

๐Ÿค Contributing

Contributions are always welcome! Please follow these steps:

  1. Fork the project repository. This creates a copy of the project on your account that you can modify without affecting the original project.
  2. Clone the forked repository to your local machine using a Git client like Git or GitHub Desktop.
  3. Create a new branch with a descriptive name (e.g., new-feature-branch or bugfix-issue-123).
git checkout -b new-feature-branch
  1. Make changes to the project's codebase.
  2. Commit your changes to your local branch with a clear commit message that explains the changes you've made.
git commit -m 'Implemented new feature.'
  1. Push your changes to your forked repository on GitHub using the following command
git push origin new-feature-branch
  1. Create a new pull request to the original project repository. In the pull request, describe the changes you've made and why they're necessary. The project maintainers will review your changes and provide feedback or merge them into the main branch.

๐Ÿ“„ License

This project is licensed under the โ„น๏ธ LICENSE-TYPE License. See the LICENSE-Type file for additional info.


๐Ÿ‘ Acknowledgments

- โ„น๏ธ List any resources, contributors, inspiration, etc.

โ†‘ Return