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.
To run this project locally, follow these steps:
- Clone the repository to your local machine:
git clone https://github.com/junaid-systemsltd/E-Commerce.git
- Install the project dependencies:
npm run install
# or
yarn install
# or
pnpm install
- Start the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
- Open your browser and navigate to http://localhost:3000 to view the application.
You can use the following dummy user credentials to test the authentication and other user-related functionalities:
-
User:
-
Email: user@abc.com
-
Password: user123
-
Admin:
-
Email: admin@abc.com
-
Password: admin123
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.
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.
If you encounter any issues or have suggestions for improvements, please feel free to open an issue.