Skip to content

Rouge is an online shopping website built with ReactJS and NextJS.

Notifications You must be signed in to change notification settings

Shivamrai15/Rouge

Repository files navigation

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

prismaliser (1)

Web Preview

Screenshot 2024-02-11 004446

Screenshot 2024-02-11 004559

Screenshot 2024-02-11 004708

Screenshot 2024-02-11 004739

Screenshot 2024-02-11 004843

Screenshot 2024-02-11 004911

Screenshot 2024-02-11 004959

Screenshot 2024-02-11 005132

API Reference

Get all categories

  GET https://ecommerce-admin-nu.vercel.app/api/${storeId}/categories
Parameter Type Description
storeId string Required. Your store key

Get category

  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

  GET https://ecommerce-admin-nu.vercel.app/api/${storeId}/products
Parameter Type Description
storeId string Required. Your store key

Get product

  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

  GET https://ecommerce-admin-nu.vercel.app/api/${storeId}/sizes
Parameter Type Description
storeId string Required. Your store key

Get size

  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

  GET https://ecommerce-admin-nu.vercel.app/api/${storeId}/colors
Parameter Type Description
storeId string Required. Your store key

Get color

  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