Skip to content

A proof of concept for e-commerce systems using a NextJS seed ready to be deployed with Vercel.

Notifications You must be signed in to change notification settings

okbel/next-store

Repository files navigation

next-store

A proof of concept using a NextJS seed ready to be deployed with Vercel.

Deploy with Vercel

Features

  • Lazy Image Loading x2
  • CSS Purged
  • Green on Lighthouse

Image of Lighthouse

Tech Stack

  • Nextjs
  • PurgeCSS
  • TailwindCSS
  • PostCSS
    • Allows nesting and imports.

Up and Running

Demo

https://next-store-pi.vercel.app

Data Fetching

Using SWR:

import useSWR from "swr";

function Profile() {
  const { data, error } = useSWR("/api/user", fetcher);

  if (error) return <div>failed to load</div>;
  if (!data) return <div>loading...</div>;
  return <div>hello {data.name}!</div>;
}

Examples and Resources

About

A proof of concept for e-commerce systems using a NextJS seed ready to be deployed with Vercel.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published