Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/leojuriolli7/nextjs-shop
E-commerce made with Next.JS and the Stripe API. Uses SSR, SSG & API routes.
https://github.com/leojuriolli7/nextjs-shop
commerce e-commerce ecommerce ignite ignite-shop nextjs react rocketseat ssg ssr stripe
Last synced: 18 days ago
JSON representation
E-commerce made with Next.JS and the Stripe API. Uses SSR, SSG & API routes.
- Host: GitHub
- URL: https://github.com/leojuriolli7/nextjs-shop
- Owner: leojuriolli7
- Created: 2022-12-01T21:31:32.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2022-12-25T00:44:05.000Z (about 2 years ago)
- Last Synced: 2024-12-20T14:23:36.764Z (about 1 month ago)
- Topics: commerce, e-commerce, ecommerce, ignite, ignite-shop, nextjs, react, rocketseat, ssg, ssr, stripe
- Language: TypeScript
- Homepage: https://nextjs-ignite-shop.vercel.app/
- Size: 197 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NextJS Shop
This project was made with [Next.js](https://nextjs.org/) and consumes
the [Stripe API](https://stripe.com/). It's an e-commerce with a shopping cart.
It was originally developed for the [Rocketseat Ignite Course](https://www.rocketseat.com.br/), for learning Next.js. After finishing the original project, I expanded it by adding:
1. Shopping cart managed by global state.
2. Cleaner code & best practices. (Custom hooks, utility functions)
3. SEO optimizations (Metatags).
4. Responsive design.
## Tech Stack- Next.js & Typescript.
- [Stitches](https://stitches.dev/) for styling (_css-in-JS_ similar to [Styled Components](https://styled-components.com/))
- Axios for API requests.
- Zustand for managing state.
## Features- Uses **SSR** for very fast **server-side rendered** pages.
- Uses **SSG** for very optimized **static** pages.
- Uses **Next.js API routes** for Stripe API call on checkout.
- Shopping cart managed by global state & communicating with the Stripe API. (With logic for duplicated items, maximum limit per user, etc.)
- Clean code practices (Custom hooks, utility functions, performance optimizations with `useCallback`, `useMemo`)
- Responsive design for all devices.
- SEO optimizations (metatags for image, description, title, etc.)## Deployment
The project has been deployed on Vercel.
Access: https://nextjs-ignite-shop.vercel.app/