https://github.com/shivamrai15/rouge
Rouge is an online shopping website built with ReactJS and NextJS.
https://github.com/shivamrai15/rouge
mongodb next-auth nextjs nodemailer prisma reactjs shadcn-ui stripe tailwindcss
Last synced: 7 months ago
JSON representation
Rouge is an online shopping website built with ReactJS and NextJS.
- Host: GitHub
- URL: https://github.com/shivamrai15/rouge
- Owner: Shivamrai15
- Created: 2024-02-11T05:40:20.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-16T16:31:34.000Z (11 months ago)
- Last Synced: 2024-11-16T17:26:12.429Z (11 months ago)
- Topics: mongodb, next-auth, nextjs, nodemailer, prisma, reactjs, shadcn-ui, stripe, tailwindcss
- Language: TypeScript
- Homepage: https://rouge-shopping.vercel.app/
- Size: 417 KB
- Stars: 24
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## **Rouge | Online Shopping for Women, Men Fashion & Lifestyle**
Rouge is an online shopping website built with ReactJS and NextJS. It uses the Shadcn UI Library and Tailwind CSS for styling, while Stripe handles payment functions. Prisma ORM is employed to interact with the MongoDB Atlas database. NextAuth manages user authentication, allowing users to log in, register, and reset passwords. The system also sends confirmation emails to users.
After signing in, users have the ability to create wishlists and add products to them. Additionally, they can easily transfer items from the wishlist directly to the shopping cart. Users also have the option to update the quantity of products in their cart on the dedicated cart page.
## **Database Schema**

## **Web Preview**








## **API Reference**
#### Get all categories
```http
GET https://ecommerce-admin-nu.vercel.app/api/${storeId}/categories
```| Parameter | Type | Description |
| :-------- | :------- | :------------------------- |
| `storeId` | `string` | **Required**. Your store key |#### Get category
```http
GET https://ecommerce-admin-nu.vercel.app/api/${storeId}/categories/${categoryId}
```| Parameter | Type | Description |
| :----------- | :------- | :-------------------------------- |
| `storeId` | `string` | **Required**. Your store key |
| `categoryId` | `string` | **Required**. Id of category to fetch |#### Get all products
```http
GET https://ecommerce-admin-nu.vercel.app/api/${storeId}/products
```| Parameter | Type | Description |
| :-------- | :------- | :------------------------- |
| `storeId` | `string` | **Required**. Your store key |#### Get product
```http
GET https://ecommerce-admin-nu.vercel.app/api/${storeId}/products/${productId}
```| Parameter | Type | Description |
| :----------- | :------- | :-------------------------------- |
| `storeId` | `string` | **Required**. Your store key |
| `productId` | `string` | **Required**. Id of item to fetch |#### Get all sizes
```http
GET https://ecommerce-admin-nu.vercel.app/api/${storeId}/sizes
```| Parameter | Type | Description |
| :-------- | :------- | :------------------------- |
| `storeId` | `string` | **Required**. Your store key |#### Get size
```http
GET https://ecommerce-admin-nu.vercel.app/api/${storeId}/sizes/${sizeId}
```| Parameter | Type | Description |
| :----------- | :------- | :-------------------------------- |
| `storeId` | `string` | **Required**. Your store key |
| `sizeId` | `string` | **Required**. Id of size to fetch |#### Get all colors
```http
GET https://ecommerce-admin-nu.vercel.app/api/${storeId}/colors
```| Parameter | Type | Description |
| :-------- | :------- | :------------------------- |
| `storeId` | `string` | **Required**. Your store key |#### Get color
```http
GET https://ecommerce-admin-nu.vercel.app/api/${storeId}/colors/${colorId}
```| Parameter | Type | Description |
| :----------- | :------- | :-------------------------------- |
| `storeId` | `string` | **Required**. Your store key |
| `sizeId` | `string` | **Required**. Id of color to fetch |