Skip to content

junaid-systemsltd/E-Commerce

Repository files navigation

Next.js 13 E-commerce Project

Welcome to the Next.js 13 E-commerce project! This project is a work in progress and aims to create a fully functional e-commerce website. So far, we have completed the authentication, login, registration, add to cart, checkout, and place an order functionality. We will continue working on the admin-side features, including product, order, and user management.

Getting Started

To run this project locally, follow these steps:

  1. Clone the repository to your local machine:
git clone https://github.com/junaid-systemsltd/E-Commerce.git
  1. Install the project dependencies:
npm run install
# or
yarn install
# or
pnpm install
  1. Start the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
  1. Open your browser and navigate to http://localhost:3000 to view the application.

User Credentials

You can use the following dummy user credentials to test the authentication and other user-related functionalities:

Seeding Data

We have created a single API endpoint for seeding the initial data. You can access it using the following URL:

Make a GET request to this URL to populate the database with initial data.

Backend

All backend functionalities are being handled with server actions. Be sure to review the backend code for more details on how data is managed and processed.

Issues

If you encounter any issues or have suggestions for improvements, please feel free to open an issue.