This is a Next.js project bootstrapped with create-next-app
.
Next.js and TypeScript E-commerce Website
-
Introduction We developed an e-commerce website using Next.js and TypeScript. This project presented us with a opportunity to dive into these technologies, enhancing our skills and understanding of modern web development.
-
Project Overview Our primary objective was to create a user-friendly e-commerce platform with essential features such as product listing, individual product pages, cart management, and a streamlined checkout process. Using the Noroff API, we fetched product data to populate our website.
-
Learning Experience Server-Side Rendering: We delved into Next.js's server-side rendering capabilities, understanding how it improves performance and SEO. Type Safety: TypeScript proved invaluable in ensuring type safety throughout our codebase, reducing errors and improving code readability.
-
Design We took inspiration from electronic e-commerce sites like Elkjøp and Power in our design. The colors we used were red, black and gray/white. We wanted to create a professional, easy to understand and trustworthy website.
-
Conclusion Our journey in building an e-commerce website with Next.js and TypeScript was incredibly rewarding. Through collaborative effort and perseverance, we successfully created a functional and responsive application that showcases our newfound skills and understanding of modern web development practices. We look forward to applying these skills to future projects and further honing our craft in web development.
NextJs Typescript Tailwind Zustand React-hook-form Zod Sønner Toast Slick Carousel Hosted with Vercel
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx
. The page auto-updates as you edit the file.
This project uses next/font
to automatically optimize and load Inter, a custom Google Font.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.