abhushanaj / moiteil-store Goto Github PK
View Code? Open in Web Editor NEWMoiteil Swag Store created using GraphCMS, Next.js and Stitches
Moiteil Swag Store created using GraphCMS, Next.js and Stitches
Tasks to be done:
Add only 4 major categories to the list that routes to respective categories pages.
Should contain the following:
next/head
to update the title, description, and other meta tags on each pageRefactor the CategoryBannerTile
styled component to be a generic Banner Tile
component to be used across pages.
Should accept React.Node
as children and StitchesCSS
style as props
related to #11
Should include the following:
The content should be fetched directly from CMS.
The component should take props of the following structure.
type BreadcrumbItem={
name: string;
path: string;
isActive:boolean
}
type Breadcrumb={
currentPath: BreadcrumbItem[];
}
Tasks to be done:
Use pritful.com to generate mockups for products belonging to the following categories: Clothing
, Gifts
, Accessories
, Home and Living
.
Upload the generated mockup files to GraphCMS from schema developed in #7.
Limit the GraphQL API endpoint from GraphCMS to perform only read actions on all content and block other requests.
/cart
which lists down all the product added to the cart.Make a button component and replace the default HTML button with it
/newsletter
endpoint./newsletter
endpoint which mimics the subscription to newsletterShould expose a custom hooks useCart()
which returns API for :
addItemToCart()
clearItemToCart()
removeItemFromCart()
The schema should contain the following:
related to #8
/product/[productNameSlug]
.Tasks to be done:
Tasks to be done:
1. Slug: generated from product name (string)
2. Name: for a product name (string)
3. Thumbnail: for product image (asset)
4. Description: for product description (markdown enabled)
5. Category: enumeration type (clothing, gifts, accessories etc)
6. Product variants: store the different variants for a product (schema described below)
1. Price: for the price of the product with the given variation (float)
2. Size: variant type. An example for clothing it's showing the different sizes available. (Custom Enumeration)
3. Color: An variation for the product in terms of color (color type)
4. Catalog Images: images for the product on the given variation. (asset)
Worldwide Shipping
All our orders ship from various warehouses to ensure fast shipping times all over the world
Friendly Support
Got a question? Contact our friendly support staff and they'll get back to you as soon as possible
Secure Payments
Pay with full confidence thanks to our secure and encrypted payment methods
Tasks:
ProductsGrid
from components to a simple layout (non-reusable). Resue the Product Overview Card
CategoriesList
from component to simple layout. Reuse the Category Card
getStaticProps
and return respective categories. Also, make sure it to write new helper function tp filter by type isPopular
and isLatest
and accepts first as a GQL parameterrelated to #7
Should include the following:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.