View online | Login with { admin , admin } to see admin panel (dont change data`s)
-
Authentication
- SignIn
- SignUp
-
Filter products by
- Category
- Gender
- Size
- Search
- ...
-
Cart
- Add to cart
- Delete from cart
- Edit product in cart(color , size , quantity)
- Checkout
-
Order
- Create order
- Cancel order
- Reject order (ADMIN)
- Accept order (ADMIN)
-
Create product (ADMIN)
- Product images
- Title and description
- Product Price
- Colors and Sizes
- Quantity
-
Create category (ADMIN)
- images
- Title
- Edit and delete product (ADMIN)
- Show daily information and month income chart (ADMIN)
- Send email
First, install dependencies:
npm install
# or
npm i
Second, create .env file and fill values:
DATABASE_URL=<mongodb database>
SECRET_KEY="weofnweofmw-weoncweoinow2343t5349wnkdc"
# Mail server
MAIL_HOST=<host>
MAIL_PORT=<port>
MAIL_USER=<username>
MAIL_PASSWORD=<password>
Third, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx
. The page auto-updates as you edit the file.