Skip to content

Clothing store e-commerce website made using Next.js for the front-end and Shopify for the back-end

License

Notifications You must be signed in to change notification settings

KibiDabi/clothing-store

 
 

Repository files navigation

Clothing Store E-Commerce Website - Rumusha

Summary

This is an e-commerce website for a Japanese clothing store called Rumusha that showcases my ability to design and implement e-commerce websites using component-based frameworks (React.js/Next.js) for the front end and Shopify for the back end.

Live Demo: https://clothing-store.rashidshamloo.com/

You can use this credit card information to test buying a product:

  • Card number: 4242424242424242
  • Expiry date: any date in the future
  • Name on card: enter at least two words
  • Security code: enter any three digits

Responsive Design

I designed a responsive layout for mobile and desktop using Figma and implemented the design using TypeScript, React.js/Next.js, and Tailwind CSS, ensuring it works properly on different screen sizes.

Design: Behance

Shopify Integration

I used Shopify for the back end by setting it up to run in the headless mode. product images and information, pages, menus, etc. are all configured and stored on the Shopify platform and retrieved and displayed on the front end using React.js/Next.js.

GraphQL API

The data is retrieved from Shopify using the Storefront GraphQL API. API calls are run on the server using server components and server actions and are cached for faster response time. I used the Shopify integration provided by Vercel but modified the queries and added extra functionality (queries) for missing parts (like the Best Seller items)

Customizability

I have divided every section into smaller components that can be easily modified and re-used in the future. I have made multiple custom-made components for displaying product images/information with the ability to show different product images on hover and for each color variant. I customized different pages/items that are handled by Shopify like the checkout page, email, logo, favicon, etc. to provide a uniform visual experience to the end-user.

Animations

I have added custom-made reveal animations using Framer Motion.

Slider

I have integrated multiple sliders and heavily customized them with color, size, animations, thumbnails, etc. to match the design and the feel of the website.

Accessibility

I improved the website's accessibility by adding ARIA properties and testing how the website behaves for people with disabilities. I adjusted the heading/section structure of the website and added screen-reader-only titles to the sections that needed it.

Website Structure

SEO Optimization

This website is optimized for search engines using metadata like description, keywords, OpenGraph, Twitter card, and more.

Asset Optimization

All of the images used in this website have responsive sizes according to the device size to limit bandwidth usage and deliver a great end-user experience. All of the fonts are cached and served from the same server for faster load times. Video assets are compressed and served in multiple formats to support different browsers.

Lighthouse Benchmark

Lighthouse score

To Do

There are more features that I would like to add in the future like a blog, wishlist, pagination, contact us page, i18n, etc.

Tech Stack

  • Shopify
  • TypeScript
  • React.js
  • Next.js v14
  • Tailwind CSS
  • Swiper
  • Framer Motion

Screenshots

  • Home Page

    Desktop Screenshot Mobile Screenshot

  • Product Page

    Desktop Screenshot - Product Page Mobile Screenshot - Product Page

Author

Rashid Shamloo

About

Clothing store e-commerce website made using Next.js for the front-end and Shopify for the back-end

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 95.2%
  • JavaScript 2.6%
  • CSS 2.2%